import { Task, Comment, CreateTaskParams, CreateTaskResult } from '../types';
import { TaskProvider } from './base';
export declare function tasksRoot(baseDir?: string): string;
export declare function ensureTaskFolders(baseDir?: string): void;
interface FrontmatterResult {
    meta: Record<string, string>;
    body: string;
}
export declare function parseFrontmatter(content: string): FrontmatterResult;
export declare function renderFrontmatter(meta: Record<string, string>, body: string): string;
export declare function parseSession(content: string): Comment[];
export declare function renderSessionEntry(author: string, text: string): string;
export type TaskMode = 'code' | 'non-code';
export declare class LocalProvider implements TaskProvider {
    private baseDir;
    private mode;
    constructor(baseDir?: string, mode?: TaskMode);
    fetchTasks(_options?: import('../types').FetchTasksOptions): Promise<Task[]>;
    fetchTasksByStatus(statuses: string[], _options?: import('../types').FetchTasksOptions): Promise<Task[]>;
    postComment(taskId: string, text: string): Promise<void>;
    getComments(taskId: string): Promise<Comment[]>;
    fetchAvailableStatuses(): Promise<string[]>;
    updateStatus(taskId: string, status: string): Promise<void>;
    removeTag(taskId: string, tag: string): Promise<void>;
    addTag(taskId: string, tag: string): Promise<void>;
    createTask(params: CreateTaskParams): Promise<CreateTaskResult>;
}
export {};
//# sourceMappingURL=local.d.ts.map