/**
 * Workflows resource handler.
 *
 * Workflows are directory bundles with a WORKFLOW.md containing YAML frontmatter.
 * They optionally contain subagents/, skills/, and plugins/ subdirectories.
 * Resolution order (docs/07-entrypoints): project > user > plugin > extra > system.
 */
import type { AgentId, ResolvedItem, ResourceHandler } from './types.js';
export interface WorkflowItem {
    name: string;
    description: string;
    model?: string;
    subagentCount: number;
}
declare class WorkflowsHandlerImpl implements ResourceHandler<WorkflowItem> {
    readonly kind: "workflow";
    listAll(_agent: AgentId, cwd?: string): ResolvedItem<WorkflowItem>[];
    resolve(_agent: AgentId, name: string, cwd?: string): ResolvedItem<WorkflowItem> | null;
    sync(_agent: AgentId, _versionHome: string, _cwd?: string): void;
    format(_agent: AgentId): 'md';
    targetDir(_agent: AgentId): string;
}
export declare const WorkflowsHandler: WorkflowsHandlerImpl;
export {};
