/** Compute the VFS dirname for a channel, of the form `name__C123`. */
export declare function channelDirname(ch: {
    id: string;
    name?: string;
}): string;
/** Compute the VFS dirname for a DM, of the form `username__D123`. */
export declare function dmDirname(dm: {
    id: string;
    user?: string;
}, userMap: Record<string, string>): string;
/** Compute the VFS filename for a user, of the form `name__U123.json`. */
export declare function userFilename(u: {
    id: string;
    name?: string;
}): string;
/**
 * Construct a stable VFS filename for a Slack file, of shape
 * `<stem>__<F-id>.<ext>`, named after `name` and else `title` (see
 * `fileIdName`).
 */
export declare function fileBlobName(file: {
    id?: string;
    name?: string;
    title?: string;
}): string;
//# sourceMappingURL=formatters.d.ts.map