import type { OpenTaskListOptions, StateMachineDef } from "../../../packages/task-list/dist/index.js";
export type TasksOptionsErrorCode = "invalid_project" | "missing_required_states" | "missing_tasks_config" | "missing_workflow";
export declare class TasksOptionsError extends Error {
    readonly code: TasksOptionsErrorCode;
    constructor(code: TasksOptionsErrorCode, message: string);
}
export interface TasksCliOptions {
    workflow?: string;
    repo?: string;
    project?: string;
    states?: string;
}
export interface ResolvedTasksOptions {
    owner: string;
    number: number;
    requiredStates: string[];
    repo?: string;
    auth?: {
        token: string;
    };
    workflowPath: string;
}
export interface ResolvedWorkflowTasksOptions {
    taskListOptions: OpenTaskListOptions;
    stateOrder: string[];
    stateMachine: StateMachineDef;
    gateStates: string[];
    workflowPath: string;
}
export declare function resolveWorkflowTaskListOptions(workflowPath: string): Promise<OpenTaskListOptions>;
export declare function resolveWorkflowMoveTargetOptions(workflowPath: string): Promise<OpenTaskListOptions>;
export declare function resolveTasksOptions(list: string | undefined, options: TasksCliOptions): Promise<ResolvedTasksOptions>;
export declare function resolveWorkflowTasksOptions(options: TasksCliOptions): Promise<ResolvedWorkflowTasksOptions>;
