export type RawRecord = Record; interface StepFragmentConfigurationErrorOptions extends ErrorOptions { readonly path?: readonly PropertyKey[]; readonly sourcePath?: string; } export declare class StepFragmentConfigurationError extends Error { readonly path?: readonly PropertyKey[]; readonly sourcePath?: string; constructor(message: string, options?: StepFragmentConfigurationErrorOptions); } export declare function isRecord(value: unknown): value is RawRecord; export declare function isPlainObject(value: unknown): value is RawRecord; export declare function getOwnValue(record: RawRecord, key: string): unknown; export declare function collectStepFragmentUses(value: unknown, refs?: Set, visited?: WeakSet): Set; export declare function assertSafeStepFragmentObject(value: unknown, workflowPath: string, source: string, visited?: WeakSet): void; export declare function formatPropertyPath(path: readonly PropertyKey[]): string; export declare function readStepFragment(path: string, workflowPath: string, ref: string): RawRecord; export declare function workflowError(workflowPath: string, message: string, options?: StepFragmentConfigurationErrorOptions): Error; export {}; //# sourceMappingURL=workflowStepFragmentReader.d.ts.map