/** * peaks-workflow v3.0.0 — YAML field helpers * * Private helpers used by the parser in `workflow-spec.ts`. NOT publicly * re-exported; not part of the public API surface. Kept in a sibling * file so the slimmed `workflow-spec.ts` can stay under the 400-line * */ export declare function leadingSpaces(line: string): number; export declare function parseScalar(raw: string): unknown; export declare function stringField(obj: Record, key: string, fallback?: string): string; export declare function numberField(obj: Record, key: string, fallback?: number): number; export declare function arrayField(obj: Record, key: string): unknown[]; export declare function objectField(obj: Record, key: string): Record; export declare function stringArrayField(obj: Record, key: string): readonly string[];