import type * as TypeScript from 'typescript'; export declare function stripImportAttributes(typeReference: string): string; export declare function hostFileModuleSpecifier(hostFilename: string): string; export interface HostLocalTypeReference { readonly typeName: string; readonly hostFilename: string; readonly exported: boolean; } export interface SwaggerPluginPatchState { readonly hostLocalTypes: HostLocalTypeReference[]; } export declare function installSwaggerPluginPatches(swaggerRoot: string, ts: typeof TypeScript, requireModule?: (path: string) => unknown): SwaggerPluginPatchState; export declare function collectUnreferenceableHostTypes(state: SwaggerPluginPatchState): readonly HostLocalTypeReference[]; //# sourceMappingURL=swagger-plugin-patches.d.ts.map