import type { EndpointManifestContractDefinition, EndpointManifestDefinition, SyncEndpointClientOptions, SyncRestOpenApiOptions } from './metadata-core.js'; export interface NormalizedSyncRestOpenApiOptions { manifest: EndpointManifestDefinition; openApiPath: string; projectRoot: string; typesFile: string; } export interface NormalizedSyncEndpointClientOptions { clientPath: string; manifest: EndpointManifestDefinition; projectRoot: string; typesFile: string; validatorsFile: string; } export declare function normalizeSyncRestOpenApiOptions(options: SyncRestOpenApiOptions): NormalizedSyncRestOpenApiOptions; export declare function normalizeSyncEndpointClientOptions(options: SyncEndpointClientOptions): NormalizedSyncEndpointClientOptions; export declare function resolveEndpointClientContract(manifest: EndpointManifestDefinition, contractKey: string, operationId: string, fieldName: 'bodyContract' | 'queryContract' | 'responseContract'): EndpointManifestContractDefinition; export declare function toValidatorAccessExpression(contractKey: string, seenPropertyNames: Map): string; export declare function toModuleImportPath(fromFile: string, targetFile: string): string; export declare function toJavaScriptStringLiteral(value: string): string; export declare function assertValidClientIdentifier(value: string, label: string): void; export declare function reserveUniqueClientTypeIdentifier(preferred: string, occupied: Set): string;