@nestia/sdk
Version:
Nestia SDK and Swagger generator
24 lines (23 loc) • 668 B
TypeScript
import ts from "typescript";
export declare class ImportDictionary {
readonly file: string;
private readonly components_;
constructor(file: string);
empty(): boolean;
external(props: ImportDictionary.IExternalProps): string;
internal(props: ImportDictionary.IInternalProps): string;
toStatements(outDir: string): ts.Statement[];
}
export declare namespace ImportDictionary {
interface IExternalProps {
type: boolean;
library: string;
instance: string | null;
}
interface IInternalProps {
type: boolean;
file: string;
instance: string | null;
name?: string | null;
}
}