import type { IProcessor, IProcessorHostModule, OperationWithContext } from "@powerhousedao/reactor-browser";
import type { IDocumentView } from "@powerhousedao/reactor";
import type { Kysely } from "kysely";
import type { DB } from "./schema.js";
import type { SecretsService } from "../../subgraphs/vetra-cloud-secrets/services/secrets-service.js";
export { vetraCloudEnvironmentProcessorFactory as vetraCloudEnvironmentFactoryBuilder } from "./factory.js";
export declare class VetraCloudEnvironmentProcessor implements IProcessor {
    private relationalDb;
    private dispatch;
    private documentView;
    /**
     * Optional — null when OPENBAO_ADDR is unset (local dev, tests). When
     * present, gitops sync routes secret env entries through the encrypted
     * tenant_secrets table so they never land in values.yaml plaintext.
     */
    private secretsService;
    constructor(relationalDb: Kysely<DB>, dispatch: IProcessorHostModule["dispatch"], documentView: IDocumentView, secretsService?: SecretsService | null);
    private dispatchAction;
    onOperations(operations: OperationWithContext[]): Promise<void>;
    /**
     * Handle a drive-level operation. Returns the deleted document ID if a
     * DELETE_NODE was processed, so the caller can skip syncing it.
     */
    private handleDriveOperation;
    onDisconnect(): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map