import type { ContractFormat, ContractSpec, ContractSpecEndpoint, ProjectKnowledge } from '../../types/index.js';
/**
 * Detect the contract format from project stack.
 * REST/unknown → openapi, GraphQL → graphql-schema, tRPC → trpc-router, Pact detected → pact.
 */
export declare function detectContractFormat(knowledge: ProjectKnowledge): ContractFormat;
/**
 * Build a sample set of endpoints from a spec title (for scaffolding purposes).
 */
export declare function buildSampleEndpoints(specTitle: string): ContractSpecEndpoint[];
/**
 * Generate a contract spec for the given spec title and knowledge.
 * Format is auto-detected from project stack.
 */
export declare function generateContractSpec(specTitle: string, knowledge: ProjectKnowledge): ContractSpec;
/**
 * Get the file extension for a given contract format.
 */
export declare function getContractFileExtension(format: ContractFormat): string;
/**
 * Get the contract file path for a spec.
 */
export declare function getContractFilePath(specSlug: string, format: ContractFormat): string;
//# sourceMappingURL=contract-test-generator.d.ts.map