import { Nullable } from '../typings/index.js';
export declare function strArrayToMap(arr: string[]): {
    [key: string]: true;
};
export declare function readGB2312(file: string): Promise<string>;
export declare function writeGB2312(file: string, content: string): Promise<void>;
export declare function eitherExists(...choices: string[]): Nullable<string>;
export declare function standardPath(p: string): string;
