import type { WorkflowInstance } from "@stigmer/protos/ai/stigmer/agentic/workflowinstance/v1/api_pb";
/** Return value of {@link useInstanceEnvKeys}. */
export interface UseInstanceEnvKeysReturn {
    /** Set of env var keys provided by the instance's bound environments. */
    readonly instanceEnvKeys: Set<string>;
    /** `true` while environment fetches are in flight. */
    readonly isLoading: boolean;
}
/**
 * Resolves the selected instance's `environmentRefs` into the set of
 * env var keys those environments provide.
 *
 * When `instance` is `null` or has no `environmentRefs`, returns an
 * empty set immediately. Otherwise fetches each referenced environment
 * and collects all keys from their `spec.data` maps.
 *
 * Used by the run dialog to determine which declared env vars are
 * already satisfied by the instance's bound environments, so validation
 * can be relaxed and the UI can indicate "provided by instance".
 */
export declare function useInstanceEnvKeys(instance: WorkflowInstance | null | undefined, org: string): UseInstanceEnvKeysReturn;
//# sourceMappingURL=useInstanceEnvKeys.d.ts.map