/**
 * Download plain text as a `.txt` file generated in the browser.
 *
 * @param text - Exact text content to save.
 * @param filename - Suggested download filename.
 */
export declare function downloadTextFile(text: string, filename: `${string}.txt`): void;
/**
 * Print plain text in an isolated, hidden frame.
 *
 * Loading a `text/plain` Blob keeps the print document limited to the exact
 * file contents instead of printing the surrounding application UI.
 *
 * @param text - Exact text content to print.
 */
export declare function printTextFile(text: string): void;
