/** * Escape backslashes then double quotes for AppleScript string literals. */ export declare function escapeAppleScriptText(input: string): string; /** * Escape single quotes for PowerShell single-quoted strings. * Replaces `'` with `''` (double the single quote). */ export declare function escapePowerShellSingleQuotedText(input: string): string; /** * Escape for bash single-quoted strings. * Replaces `'` with `'\''` (close quote, escaped quote, reopen quote). */ export declare function escapeBashText(input: string): string; /** * Generate a complete PowerShell script that creates a Windows toast * notification using `[Windows.UI.Notifications.ToastNotificationManager]`. * Returns a single-line script with `; ` separators. */ export declare function buildWindowsToastScript(title: string, message: string): string; /** * Truncate a string with a trailing "…" if it exceeds `maxLen`. * Returns `""` when `maxLen <= 0`. * * One-line delegation to the canonical `truncateText` in * `src/utils/text-format.ts` (same "…" and same inclusive budget). */ export declare function truncate(str: string, maxLen: number): string; /** * Build the full `osascript` command string for a macOS notification. */ export declare function buildAppleScriptNotification(title: string, message: string): string; /** * Build the argument array for `notify-send`. * Title and message are passed as separate args so no escaping is needed. */ export declare function buildNotifySendCommand(title: string, message: string): string[]; //# sourceMappingURL=formatting.d.ts.map