import type { GithubWorkBridge } from './github.ts';
import { type WorkItem, type WorkQueue, type WorkStatus, type WorkType } from './schema.ts';
export * from './github.ts';
export * from './id.ts';
export * from './inline.ts';
export * from './priority.ts';
export * from './render.ts';
export * from './result.ts';
export * from './schema.ts';
export * from './store.ts';
export * from './sync.ts';
export interface WorkInitOptions {
    cwd?: string;
}
export declare const workInit: (options?: WorkInitOptions) => import("./result.ts").WorkActionResult<{
    config: import("./schema.ts").WorkConfig;
    paths: {
        config: string;
        items: string;
        queues: string;
    };
}>;
export interface WorkAddOptions {
    acceptanceCriteria?: readonly string[];
    area?: string;
    confidence?: number;
    cwd?: string;
    description?: string;
    effort?: number;
    file?: string;
    /** Injectable GitHub bridge for tests; production uses the default `gh` CLI bridge. */
    github?: GithubWorkBridge;
    id?: string;
    impact?: number;
    inline?: boolean;
    line?: number;
    now?: Date;
    risk?: number;
    tags?: readonly string[];
    title: string;
    type: WorkType;
    urgency?: number;
    verification?: readonly string[];
}
export declare const workAdd: (options: WorkAddOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem;
}>;
export interface WorkListOptions {
    /** When true, also list/normalize open GitHub issues not created by `xy work`. */
    all?: boolean;
    cwd?: string;
    /** Injectable GitHub bridge for tests; production uses the default `gh` CLI bridge. */
    github?: GithubWorkBridge;
    sort?: 'created' | 'priority';
    status?: WorkStatus;
    type?: WorkType;
}
export declare const selectWorkItems: (items: readonly WorkItem[], options: WorkListOptions, formula: string) => WorkItem[];
export declare const workList: (options?: WorkListOptions) => import("./result.ts").WorkActionResult<{
    items: WorkItem[];
}>;
export interface WorkShowOptions {
    cwd?: string;
    id: string;
}
export declare const workShow: (options: WorkShowOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem;
}>;
export interface WorkTriageOptions {
    cwd?: string;
}
export declare const workTriage: (options?: WorkTriageOptions) => import("./result.ts").WorkActionResult<{
    items: WorkItem[];
}>;
export interface WorkQueueOptions {
    cwd?: string;
    limit?: number;
    name?: string;
    now?: Date;
    status?: WorkStatus;
}
export declare const workQueue: (options?: WorkQueueOptions) => import("./result.ts").WorkActionResult<{
    queue: WorkQueue;
}>;
export interface WorkNextOptions {
    claim?: boolean;
    cwd?: string;
    name?: string;
    now?: Date;
}
export declare const workNext: (options?: WorkNextOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem | undefined;
}>;
export interface WorkClaimOptions {
    cwd?: string;
    id: string;
    now?: Date;
}
export declare const workClaim: (options: WorkClaimOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem;
}>;
export interface WorkDoneOptions {
    cwd?: string;
    evidence: string;
    id: string;
    now?: Date;
}
export declare const workDone: (options: WorkDoneOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem;
}>;
export interface WorkUpdateOptions {
    acceptanceCriteria?: readonly string[];
    area?: string;
    blockedReason?: string;
    confidence?: number;
    cwd?: string;
    description?: string;
    effort?: number;
    id: string;
    impact?: number;
    now?: Date;
    risk?: number;
    status?: WorkStatus;
    tags?: readonly string[];
    title?: string;
    urgency?: number;
    verification?: readonly string[];
}
export declare const workUpdate: (options: WorkUpdateOptions) => import("./result.ts").WorkActionResult<{
    item: WorkItem;
}>;
export declare const workStoreExists: (cwd?: string) => boolean;
//# sourceMappingURL=index.d.ts.map