/**
 * CompositeWorkflowProvider — primary/fallback composite for workflows.
 *
 * Story 1.3 — OpenLife v1.3 Agent OS Integration.
 *
 * Aligns the workflow provider stack with the established Composite{X}
 * pattern (Agent, Skill, Squad, Capability). Pure refactor: existing
 * FileWorkflowProvider already searches two roots internally, so the
 * composite layer is for *external* sources like cloud catalogs in v1.4.
 *
 * For v1.3 we just wrap the existing FileWorkflowProvider so callers can
 * upgrade to the composite shape without changing the loader.
 */
import { Workflow } from '../workflow/WorkflowSchema';
import { WorkflowFileEntry } from './FileWorkflowProvider';
export interface WorkflowProvider {
    list(): WorkflowFileEntry[];
    load(id: string): {
        entry: WorkflowFileEntry;
        workflow: Workflow;
    } | null;
}
export declare class CompositeWorkflowProvider implements WorkflowProvider {
    private primary;
    private fallback?;
    constructor(primary: WorkflowProvider, fallback?: WorkflowProvider | undefined);
    list(): WorkflowFileEntry[];
    load(id: string): {
        entry: WorkflowFileEntry;
        workflow: Workflow;
    } | null;
}
/**
 * Factory: the default v1.3 composite — FileWorkflowProvider only.
 * v1.4 will add a CloudWorkflowProvider as fallback.
 */
export declare function defaultWorkflowProvider(): WorkflowProvider;
