export interface WorkflowMetadata {
    id: number | string;
    slug: string;
    name: string;
    tags: string[];
    author: string;
    createdAt: string | null;
    description: string | null;
    hasWorkflow: boolean;
    workflowFile: string | null;
    workflowPath?: string | null;
}
export declare class WorkflowRegistry {
    private index;
    private searchIndex;
    private workflowsById;
    constructor(customIndexPath?: string);
    /**
     * Search workflows using FlexSearch
     */
    search(query: string, limit?: number): WorkflowMetadata[];
    /**
     * Get workflow by ID
     */
    getById(id: string | number): WorkflowMetadata | undefined;
    /**
     * Get all workflows
     */
    getAll(): WorkflowMetadata[];
    /**
     * Generate the raw GitHub URL for a workflow
     */
    getRawUrl(workflow: WorkflowMetadata, branch?: string): string;
    /**
     * Get index metadata
     */
    getMetadata(): {
        generatedAt: string;
        repository: string;
        sourceRef: string | undefined;
        sourceCommit: string | undefined;
        refreshStrategy: string | undefined;
        totalWorkflows: number;
    };
}
//# sourceMappingURL=workflow-registry.d.ts.map