import { $Fetch } from 'ofetch'; /** One predefined process inside a registered git source. */ export interface PeopleProcessCatalogProcess { slug: string; name: string; description: string; /** Which source contributed the entry (managed | seed | published_rows). */ source: string; /** Git-SOT enrichment: published request types living in this directory. */ published_request_types?: number; /** Git-SOT enrichment: published policies living in this directory. */ published_policies?: number; /** Git-SOT enrichment: whether the process type itself is published. */ published_process?: boolean; } /** One registered git source with its predefined processes. */ export interface PeopleProcessCatalogRepo { /** Content uuid of the backing process_repo row (null for seed/floor). */ uuid: string | null; /** Short machine key of the repo (hr, client…). */ repo_key?: string; /** Git URL (public form — userinfo stripped). */ repo_url: string; branch: string; name: string; description: string; domain: string; /** True when a registered process_repo row backs this entry * (editable from the Git homes tab). */ manageable: boolean; /** Disabled rows are only listed with include_disabled=true. */ enabled: boolean; processes: PeopleProcessCatalogProcess[]; } /** `GET /api/v1/people/process-catalog` response (v2 shape). */ export interface PeopleProcessCatalog { version: number; count: number; process_count: number; repos: PeopleProcessCatalogRepo[]; manageable_count: number; catalog_source: string; registry_repo: string | null; limitations: string[]; } export interface IPeopleProcessCatalogService { /** The managed git-source catalog (cached 5 min server-side). */ catalog(query?: { includeDisabled?: boolean; }): Promise; } export interface IPeopleProcessCatalogServiceOptions { /** The CMS `$Fetch` instance (one of `sdk.apis`). */ api: $Fetch; } export declare function createPeopleProcessCatalogService(opts: IPeopleProcessCatalogServiceOptions): IPeopleProcessCatalogService; //# sourceMappingURL=index.d.ts.map