export type SubmitHistoryRoute = 'slash' | 'normal'; /** * Decide whether a submitted input should be pushed into input history. * * Rules: * - blank input is ignored entirely * - bare slash commands (just "/" or "/command" without arguments) are not * saved — they come from the slash-command menu before the user types * any actual arguments and would clutter history * - slash commands with arguments (e.g. "/setmodel anthropic/claude") are * remembered as 'slash' entries * - normal free-text submissions are remembered as 'normal' entries * - legacy Telegram setup commands that contain bot tokens are suppressed */ export declare function shouldPushSubmittedHistory(raw: string): { push: boolean; route: SubmitHistoryRoute | 'empty'; trimmed: string; }; //# sourceMappingURL=submit-history.d.ts.map