import type { SchemaConfig, TypeConfig } from '@stackpress/idea-parser'; import type { FileLoaderOptions } from './types.js'; import FileLoader from '@stackpress/lib/FileLoader'; export default class Transformer> { static load>(input: string, options?: FileLoaderOptions): Promise>; readonly loader: FileLoader; readonly input: string; protected _schema?: SchemaConfig; constructor(input: string, loader: FileLoader); schema(): Promise; transform(extras?: T): Promise; protected _merge(parent: TypeConfig, child: TypeConfig): void; }