import { type ApiClient } from './client.js'; import { type Remediation } from './remediation.js'; export interface ProjectListItem { id: string; owner: string; name: string; } export interface RuleSetListItem { id: string; name: string; } /** Resolve a project identifier (UUID | `owner/name` | bare name) to its UUID. */ export declare function resolveProjectId(client: ApiClient, project: string): Promise; /** Find a rule set by exact name within a project; `null` when the project has no set by * that name (callers decide whether that's an error — `diff` treats it as drift). */ export declare function findRuleSetByName(client: ApiClient, projectId: string, setName: string): Promise; /** Resolve a rule-set name to its UUID, erroring with the names that DO exist. */ export declare function resolveRuleSetId(client: ApiClient, projectId: string, setName: string): Promise; /** The project to operate on: `--project` flag > config `project`. Throws when neither is set, * with `remediation.project` as the fix-it half of the message (see api/remediation.ts). */ export declare function requireProject(flagProject: string | undefined, configProject: string | undefined, remediation?: Partial): string;