UNPKG

@bitblit/asyncglk

Version:
13 lines (12 loc) 577 B
import type { FileType } from '../../common/protocol.js'; /** File extensions for Glk file types */ export declare function filetype_to_extension(filetype: FileType): string; /** Construct a file-filter list for a given usage type. */ export declare function filters_for_usage(usage: string | null): { name: string; extensions: string[]; }[]; /** Convert a native path to a POSIX path */ export declare function path_native_to_posix(path: string): string; /** Convert a POSIX path to a native path */ export declare function path_posix_to_native(path: string): string;