import { BaseSubgraph } from "@powerhousedao/reactor-api";
import type { DocumentNode } from "graphql";
/**
 * Warm pool for Vetra Studio. Two responsibilities, both in-process:
 *  - `claimStudioEnvironment` mutation: atomically assigns a warm env to an
 *    invite-code caller, transfers ownership (system SET_OWNER), and injects the
 *    code's attached key (reusing the access-codes lookup + secrets service).
 *  - PoolKeeper worker: creates/maintains STUDIO_POOL_SIZE warm envs via the
 *    reactor client directly (no wallet, no separate service). Started only when
 *    STUDIO_POOL_SIZE > 0.
 */
export declare class VetraStudioPoolSubgraph extends BaseSubgraph {
    name: string;
    typeDefs: DocumentNode;
    resolvers: Record<string, unknown>;
    additionalContextFields: {};
    private keeper;
    private unsubscribeDocumentDeleted;
    onSetup(): Promise<void>;
    /**
     * Remove a deleted environment's read-model row and tear down its gitops
     * tenant directory. Defensive: a failure for one document must never kill the
     * subscription, so the whole body is wrapped in try/catch.
     */
    private reconcileDeletedEnvironment;
    onDisconnect(): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map