import type { SearchTarget } from './scope.ts'; /** 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; /** 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 * `__.`. The stem keeps the original spelling, only `/` is * replaced, and it is the only part trimmed to fit NAME_MAX -- the id and * extension are what make the name resolve, so they are spent first. */ export declare function fileBlobName(file: { id?: string; name?: string; title?: string; }): string; export declare function buildQuery(pattern: string, scope: SearchTarget): string; export declare function formatGrepResults(raw: Uint8Array, scope: SearchTarget, prefix: string): string[]; export declare function formatFileGrepResults(raw: Uint8Array, scope: SearchTarget, prefix: string): string[]; //# sourceMappingURL=formatters.d.ts.map