export interface ConversationSetupConcurrencyParams { loadHistory: () => Promise; persistMessage?: () => Promise; } export interface ConversationSetupConcurrencyResult { history: TMessage[]; persistedMessage: TMessage | null; historyError?: Error; persistenceError?: Error; } /** * Runs the conversation history load and optional persistence tasks concurrently. * Converts any rejection into an error on the result object instead of throwing. */ export declare function runConversationSetupConcurrency({ loadHistory, persistMessage }: ConversationSetupConcurrencyParams): Promise>; //# sourceMappingURL=runConversationSetupConcurrency.d.ts.map