import type { Plugin } from "vite";
import type { AiService } from "./ai-service/index.js";
import type { SyncService } from "./sync-service/index.js";
export interface ApiTypeMetadata {
    input: string;
    output: string;
}
export declare const YAML_TYPES_PLUGIN_NAME = "sb-yaml-api-types";
export declare function parseExistingTypeDefinitions(existingTypeDefinitions: string): Record<string, ApiTypeMetadata>;
export declare function mergeInterfaceMetadata(discoveredApiFolders: string[], generatedMetadata: Record<string, ApiTypeMetadata>, existingMetadata: Record<string, ApiTypeMetadata>): Record<string, ApiTypeMetadata>;
export declare function shouldRegenerateTypeDefinitions(event: string, filePath: string): boolean;
export declare function buildTypeDefinitions(apiFolders: string[], interfaceMetadata: Record<string, ApiTypeMetadata>): string;
export declare const yamlApiTypesPlugin: (syncService?: SyncService, aiService?: AiService) => Plugin;
//# sourceMappingURL=vite-plugin-yaml-types.d.ts.map