import { GlobOptions } from 'tinyglobby'; export declare const markdownExtensions: string[]; interface GenerateTmpFileInterfaceOptions { extension?: `.${string}`; } export declare const generateTmpFileInterface: ({ extension, }?: GenerateTmpFileInterfaceOptions) => Promise; export interface FileConvertOption { extension?: string; page?: number; } export declare enum FileType { File = 0, StandardIO = 1, Null = 2 } export interface FindPathOptions { ignore?: GlobOptions['ignore']; files: string[]; } export declare class File { buffer?: Buffer; inputDir?: string; type: FileType; readonly path: string; constructor(filepath: string); get absolutePath(): string; get absoluteFileScheme(): string; convert(output: string | false | undefined, opts: FileConvertOption): File; load(): Promise>; relativePath(from?: string): string; save(): Promise; saveTmpFile({ extension, }?: GenerateTmpFileInterfaceOptions): Promise; private convertName; private saveToFile; private static stdinBuffer?; static findPath(opts: FindPathOptions, ...paths: string[]): Promise; static find(...paths: string[]): Promise; static findDir(directory: string): Promise; static stdin(): Promise; private static initialize; } export declare namespace File { interface TmpFileInterface extends AsyncDisposable, Disposable { path: string; cleanup: () => Promise; } } export {};