export type EmbeddedSecretConsumer = (input: { ref: string; conversationId: string; }) => Promise; export declare function withoutEmbeddedExecutionSession(run: () => T): T; export declare function runWithEmbeddedExecutionSession(conversationId: string, run: () => T, runId?: string, options?: { consumeSecretRef?: EmbeddedSecretConsumer; }): T; export declare function getEmbeddedExecutionSession(): string | undefined; export declare function getEmbeddedExecutionRunId(): string | undefined; export declare function getEmbeddedSecretConsumer(): EmbeddedSecretConsumer | undefined;