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; export declare function resolveWorkflowMoveTargetOptions(workflowPath: string): Promise; export declare function resolveTasksOptions(list: string | undefined, options: TasksCliOptions): Promise; export declare function resolveWorkflowTasksOptions(options: TasksCliOptions): Promise;