``` > require('oxc-transform').isolatedDeclaration("hello.ts", `export class Foo { foo<F>(f: F): F { return f } }`) { sourceText: 'export declare class Foo {\n\tfoo(f: F): F;\n}\n', errors: [] } ```