import type { ExistingRawSourceMap } from 'rolldown'; export type NativeComponentDefinition = { folder: string; entry: string; fields: readonly string[]; }; /** Replaces native component interface calls with source-folder names and returns their static metadata. */ export declare function transformNativeComponentInterfaces(code: string, id: string, sourcemap: boolean): { code: string; map: ExistingRawSourceMap | null; definitions: NativeComponentDefinition[]; };