import type { AgentSessionInternalSurface as AgentSession } from "./agent-session-methods.ts"; import type { SendMessageOptions, SendMessagesOptions } from "./extensions/index.js"; import type { CustomMessage } from "./messages.ts"; /** Commit one delivery whose source generation already granted admission. */ export declare function commitAdmittedCustomMessage(session: AgentSession, appMessage: CustomMessage, options?: SendMessageOptions): Promise; export declare function _commitAdmittedCustomMessage(this: AgentSession, appMessage: CustomMessage, options?: SendMessageOptions): Promise; /** Commit a batch whose source generation already granted atomic admission. */ export declare function commitAdmittedCustomMessages(session: AgentSession, appMessages: CustomMessage[], options?: SendMessagesOptions): Promise; export declare function _commitAdmittedCustomMessages(this: AgentSession, appMessages: CustomMessage[], options?: SendMessagesOptions): Promise; export declare const agentSessionCustomMessageCommitMethods: { _commitAdmittedCustomMessage: typeof _commitAdmittedCustomMessage; _commitAdmittedCustomMessages: typeof _commitAdmittedCustomMessages; }; //# sourceMappingURL=agent-session-custom-message-commit.d.ts.map