import { type WorkConfig, type WorkItem, type WorkQueue } from './schema.ts';
export interface WorkStorePaths {
    configPath: string;
    itemsDir: string;
    queuesDir: string;
    rootDir: string;
}
export declare const workStorePaths: (cwd?: string, config?: WorkConfig) => WorkStorePaths;
export declare const writeJson: (filePath: string, value: unknown) => void;
export declare const ensureWorkStore: (cwd?: string) => WorkStorePaths;
export declare const readWorkConfig: (cwd?: string) => WorkConfig;
export declare const workItemPath: (cwd: string, id: string) => string;
export declare const workQueuePath: (cwd: string, name: string) => string;
export declare const writeWorkItem: (cwd: string, item: WorkItem) => void;
export declare const readWorkItem: (cwd: string, id: string) => WorkItem;
export declare const listWorkItems: (cwd?: string) => WorkItem[];
export declare const writeWorkQueue: (cwd: string, queue: WorkQueue) => void;
export declare const readWorkQueue: (cwd: string, name: string) => WorkQueue;
export declare const pathInsideRepo: (cwd: string, filePath: string) => {
    absolutePath: string;
    relativePath: string;
};
//# sourceMappingURL=store.d.ts.map