export interface WriteFileOptions { createPath?: boolean; mode?: number; } interface FileImportModule { default: string; } type FilePathFallback = string | URL | (() => string | URL); export declare const sleep: (msOrDate: number | Date) => Promise; export declare const stringWidth: (text: string) => number; export declare const stripANSI: (text: string) => string; export declare const writeFile: (destination: string | URL, data: string | ArrayBufferView, options?: WriteFileOptions) => Promise; export declare function resolveBundledFilePath(loadBundledFile: () => Promise, fallbackPath: FilePathFallback, metaUrl: string): Promise; export {};