import type { StepProviderOptions } from '../../../core/models/workflow-types.js'; import type { FacetResolutionContext } from './workflowPackageScope.js'; import { type ScopedProviderOptionsCandidateDirs } from './providerOptionsLookupDirectories.js'; export type RawWorkflowProviderOptions = Record & { extends?: string; }; export interface ResolvedProviderOptionsExtendsResource { path: string; realPath: string; allowedRoot: string; nextRootDir: string; candidateDirs?: readonly string[]; } interface ProviderOptionsResolutionScope { context?: FacetResolutionContext; candidateDirs?: readonly string[]; scopedCandidateDirs?: ScopedProviderOptionsCandidateDirs; } export interface ProviderOptionsFileAccess { exists(path: string): boolean; readText(path: string): string; realpath(path: string): string; isSymlink?(path: string): boolean; } export interface WorkflowProviderOptionsResolutionHost extends ProviderOptionsResolutionScope { rootDir: string; fileAccess?: ProviderOptionsFileAccess; } export declare function resolveProviderOptionsExtendsResource(ref: string, currentDir: string, host: WorkflowProviderOptionsResolutionHost): ResolvedProviderOptionsExtendsResource; export declare function parseProviderOptionsDocument(content: string, ref: string): RawWorkflowProviderOptions; export declare function resolveWorkflowProviderOptions(raw: RawWorkflowProviderOptions | undefined, workflowDir: string, context?: FacetResolutionContext): StepProviderOptions | undefined; export declare function resolveWorkflowProviderOptionsWithHost(raw: RawWorkflowProviderOptions | undefined, workflowDir: string, host: WorkflowProviderOptionsResolutionHost): StepProviderOptions | undefined; export {}; //# sourceMappingURL=workflowProviderOptionsResolver.d.ts.map