/** * * Module path: src/services/changeset/changeset-check-service.ts * Mirror of publish.yml gate-changeset step (lines 220-243). Hard-gate, * no warning mode, no opt-out. Auto-wired as step 0 of `peaks release * canary` and `peaks release hotfix` BEFORE the rid-010 precheck guard. * * unconditional. Both filters inspect `.changeset/*.md` (excluding * README.md) but with different policy semantics. */ export type ChangesetGateState = 'staged-empty' | 'staged-present' | 'dir-missing'; export interface ChangesetHardGateEnvelope { readonly ok: boolean; readonly state: ChangesetGateState; readonly stagedFiles: readonly string[]; readonly root: string; readonly snapshotAt: string; } export declare function runChangesetHardGate(projectRoot: string): ChangesetHardGateEnvelope;