import { isIssueId } from './issueId.js'; export type CheckTarget = { kind: 'file'; path: string; } | { kind: 'issues'; ids: string[]; } | { kind: 'auto'; } | { kind: 'all'; }; export declare function looksLikeFile(token: string, cwd: string): boolean; export declare const looksLikeIssueId: typeof isIssueId; /** Pull the bare positional tokens out of an arg list, skipping flags and the values of * flags that take one. Used to find a check/loop target among the flags. */ export declare function positionalArgs(args: string[], valueFlags: Set): string[]; /** Classify a check/loop invocation into a target. `inWorktreeIssue` is whether the current * git branch/worktree resolves to a known issue (lets bare `check`/`loop` auto-scope). */ export declare function resolveTarget(opts: { positionals: string[]; issuesFlag?: string[]; forceAuto?: boolean; inWorktreeIssue?: boolean; cwd: string; }): CheckTarget;