export declare const WORK_TYPES: readonly ["bug", "todo", "feature", "idea", "debt", "research", "question", "risk"];
export declare const WORK_STATUSES: readonly ["open", "triaged", "queued", "claimed", "blocked", "done", "wontfix"];
export declare const WORK_PRIORITY_FIELDS: readonly ["impact", "urgency", "effort", "risk", "confidence"];
export type WorkType = typeof WORK_TYPES[number];
export type WorkStatus = typeof WORK_STATUSES[number];
export type WorkPriorityField = typeof WORK_PRIORITY_FIELDS[number];
export interface WorkPriority {
    confidence: number;
    effort: number;
    impact: number;
    risk: number;
    urgency: number;
}
export interface WorkAnchor {
    kind: 'file';
    line?: number;
    path: string;
}
export interface WorkItem {
    acceptanceCriteria: string[];
    anchors: WorkAnchor[];
    area?: string;
    blockedReason?: string;
    claimedAt?: string;
    completedAt?: string;
    createdAt: string;
    description: string;
    id: string;
    priority?: WorkPriority;
    status: WorkStatus;
    stores: Record<string, unknown>;
    tags: string[];
    title: string;
    type: WorkType;
    updatedAt: string;
    verification: string[];
}
export interface WorkConfig {
    defaultQueue: string;
    idPrefix: string;
    priority: {
        formula: string;
    };
    stores: {
        github: {
            enabled: boolean;
        };
        inline: {
            enabled: boolean;
            marker: string;
        };
        repo: {
            enabled: boolean;
            path: string;
        };
    };
    version: 1;
}
export interface WorkQueueEntry {
    id: string;
    score?: number;
}
export interface WorkQueue {
    generatedAt: string;
    items: WorkQueueEntry[];
    name: string;
    version: 1;
}
export declare const DEFAULT_PRIORITY_FORMULA = "impact + urgency + risk + confidence - effort";
export declare const defaultWorkConfig: () => WorkConfig;
export declare const isWorkType: (value: unknown) => value is WorkType;
export declare const isWorkStatus: (value: unknown) => value is WorkStatus;
export declare const parseWorkType: (value: unknown) => WorkType;
export declare const parseWorkStatus: (value: unknown) => WorkStatus;
export declare const parsePriorityValue: (value: unknown, label: string) => number;
export declare const validateWorkPriority: (value: unknown) => WorkPriority;
export declare const validateWorkAnchor: (value: unknown) => WorkAnchor;
export declare const validateWorkItem: (value: unknown) => WorkItem;
export declare const validateWorkConfig: (value: unknown) => WorkConfig;
export declare const validateWorkQueue: (value: unknown) => WorkQueue;
//# sourceMappingURL=schema.d.ts.map