@nestia/sdk
Version:
Nestia SDK and Swagger generator
23 lines (22 loc) • 717 B
TypeScript
import { type Node } from "@ttsc/factory";
import { IReflectImport } from "../../structures/IReflectImport";
export declare class ImportDictionary {
readonly file: string;
private readonly components_;
constructor(file: string);
empty(): boolean;
declarations(imports: IReflectImport[]): void;
external(props: ImportDictionary.IProps): string;
internal(props: ImportDictionary.IProps): string;
toStatements(outDir: string): Node[];
private toImportClaude;
}
export declare namespace ImportDictionary {
interface IProps {
type: "default" | "element" | "asterisk";
file: string;
name: string;
alias?: string;
declaration: boolean;
}
}