import type { WorkflowConfig } from '../../../core/models/index.js';
export type WorkflowTrustSource = 'project' | 'worktree' | 'user' | 'builtin' | 'repertoire' | 'external' | 'inline';
export interface WorkflowTrustInfo {
    source: WorkflowTrustSource;
    sourcePath?: string;
    isProjectTrustRoot: boolean;
    isProjectWorkflowRoot: boolean;
}
interface WorkflowTrustResolutionOptions {
    filePath?: string;
    projectCwd: string;
    lookupCwd?: string;
    source?: WorkflowTrustSource;
}
export declare function resolveWorkflowTrustInfo(options: WorkflowTrustResolutionOptions): WorkflowTrustInfo;
export declare function getWorkflowTrustInfo(workflow: WorkflowConfig, projectCwd: string): WorkflowTrustInfo;
export declare function getWorkflowPathTrustInfo(filePath: string | undefined, projectCwd: string, lookupCwd?: string): WorkflowTrustInfo;
export {};
//# sourceMappingURL=workflowTrustSource.d.ts.map