import type { EmailAccessor } from '../../accessor/email.ts'; import { type FetchedMessage } from './client.ts'; export declare function msgFilename(subject: string, uid: string): string; /** * Picks the YYYY-MM-DD directory a message files under. * * The `Date:` header wins, because it is the timestamp the sender wrote * and the one himalaya's date conditions search on (SENTON / SENTSINCE / * SENTBEFORE). It is also optional, and a message without it used to * fall straight to the epoch, collapsing the mount's only organizing * axis into a single 1970 directory. IMAP's own INTERNALDATE (RFC 3501, * server-assigned and always present) fills that hole. */ export declare function dateBucket(message: FetchedMessage): string; export declare const readdir: import("@struktoai/mirage-core/core/hierarchy/probe").ReaddirFn; //# sourceMappingURL=readdir.d.ts.map