/** * `cleo decide sites` — list every registered decision site with its rung, * ladder, fallback, owner-escalation rule, configured and effective mode, * go-live evidence and last-7-day audit activity (spec * `system-one-integration` §3.4). * * Read-only. The effective mode follows the rule `resolveDecisionSiteSettings` * applies at the call sites: a site that uses System One (as its primary rung * or on its ladder) is `off` while no provider is configured. * * @task T12662 * @epic T12486 */ import type { DecisionRung, DecisionSiteDefinition, DecisionSiteModeValue, DecisionSitesListResult } from '@cleocode/contracts'; /** Window for {@link DecisionSiteSummary.last7d}, ms. */ export declare const DECISION_SITE_ACTIVITY_WINDOW_MS: number; /** Filters and injectable dependencies for {@link listDecisionSites}. */ export interface ListDecisionSitesOptions { /** Only sites whose primary rung is this. */ readonly rung?: DecisionRung; /** Only sites whose effective mode is this. */ readonly mode?: DecisionSiteModeValue; /** Only the site with this id. */ readonly id?: string; /** Only sites that have recorded go-live evidence. */ readonly evidenceOnly?: boolean; /** Project root (config and audit). Default: the resolved CLEO project root. */ readonly projectRoot?: string; /** Whether a System One provider is configured. Default: the stored connection. */ readonly providerConfigured?: boolean; /** Config reader. Default: the config registry. */ readonly readConfig?: (key: string, projectRoot: string) => Promise; /** Registry to list. Default: {@link DECISION_SITES}. */ readonly sites?: readonly DecisionSiteDefinition[]; /** Clock for the activity window. Default: now. */ readonly now?: Date; } /** * List the registered decision sites with their configured and effective * modes and recent activity. Never throws on unreadable config or audit. * * @param opts - Filters and injectable dependencies. * @returns Provider state, registry size and the matching sites. */ export declare function listDecisionSites(opts?: ListDecisionSitesOptions): Promise; //# sourceMappingURL=list.d.ts.map