import type { Crumb } from "../types.js";
export declare class CrumbStore {
    private filePath;
    private fd;
    constructor(dir?: string);
    static forApp(app: string, baseDir?: string): CrumbStore;
    static listApps(baseDir?: string): string[];
    static readAllApps(baseDir?: string): Crumb[];
    private ensureFd;
    append(crumb: Crumb): void;
    appendRaw(line: string): void;
    private maybeRotate;
    private rotate;
    getFilePath(): string;
    readAll(): Crumb[];
    clear(): void;
    close(): void;
}
//# sourceMappingURL=store.d.ts.map