import type { Resolver } from '.'; import { type TestSupportResponse } from './virtual-test-support'; import { type TestSupportStylesResponse } from './virtual-test-support-styles'; import { type VirtualVendorResponse } from './virtual-vendor'; import { type VirtualVendorStylesResponse } from './virtual-vendor-styles'; import { type EntrypointResponse } from './virtual-entrypoint'; import { type RouteEntrypointResponse } from './virtual-route-entrypoint'; export type VirtualResponse = { specifier: string; } & (FastbootSwitchResponse | ImplicitModulesResponse | EntrypointResponse | RouteEntrypointResponse | TestSupportResponse | TestSupportStylesResponse | VirtualVendorResponse | VirtualVendorStylesResponse | VirtualPairResponse | TemplateOnlyComponentResponse); export interface VirtualContentResult { src: string; watches: string[]; } export declare function virtualContent(response: VirtualResponse, resolver: Resolver): VirtualContentResult; export interface VirtualPairResponse { type: 'component-pair'; specifier: string; hbsModule: string; jsModule: string | null; debugName: string; } interface FastbootSwitchResponse { type: 'fastboot-switch'; names: Set; } export interface ImplicitModulesResponse { type: 'implicit-modules' | 'implicit-test-modules'; fromFile: string; } export interface TemplateOnlyComponentResponse { type: 'template-only-component-js'; specifier: string; } export {};