nitrogen 0.29.6 → 0.29.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/lib/syntax/swift/SwiftCxxBridgedType.js +29 -10
  2. package/lib/syntax/swift/SwiftCxxTypeHelper.d.ts +1 -0
  3. package/lib/syntax/swift/SwiftCxxTypeHelper.js +44 -14
  4. package/lib/views/kotlin/KotlinHybridViewManager.js +1 -1
  5. package/package.json +4 -4
  6. package/src/getFiles.ts +3 -1
  7. package/src/syntax/swift/SwiftCxxBridgedType.ts +27 -9
  8. package/src/syntax/swift/SwiftCxxTypeHelper.ts +45 -14
  9. package/src/views/kotlin/KotlinHybridViewManager.ts +1 -1
  10. package/lib/Logger.d.ts +0 -10
  11. package/lib/autolinking/Autolinking.d.ts +0 -8
  12. package/lib/autolinking/android/createCMakeExtension.d.ts +0 -6
  13. package/lib/autolinking/android/createGradleExtension.d.ts +0 -5
  14. package/lib/autolinking/android/createHybridObjectInitializer.d.ts +0 -2
  15. package/lib/autolinking/createAndroidAutolinking.d.ts +0 -11
  16. package/lib/autolinking/createIOSAutolinking.d.ts +0 -5
  17. package/lib/autolinking/ios/createHybridObjectInitializer.d.ts +0 -9
  18. package/lib/autolinking/ios/createPodspecRubyExtension.d.ts +0 -5
  19. package/lib/autolinking/ios/createSwiftCxxBridge.d.ts +0 -2
  20. package/lib/autolinking/ios/createSwiftUmbrellaHeader.d.ts +0 -3
  21. package/lib/config/NitroConfig.d.ts +0 -52
  22. package/lib/config/NitroUserConfig.d.ts +0 -22
  23. package/lib/config/getConfig.d.ts +0 -2
  24. package/lib/createGitAttributes.d.ts +0 -1
  25. package/lib/createPlatformSpec.d.ts +0 -4
  26. package/lib/getFiles.d.ts +0 -1
  27. package/lib/getPlatformSpecs.d.ts +0 -17
  28. package/lib/index.d.ts +0 -2
  29. package/lib/init.d.ts +0 -1
  30. package/lib/nitrogen.d.ts +0 -11
  31. package/lib/prettifyDirectory.d.ts +0 -1
  32. package/lib/syntax/BridgedType.d.ts +0 -41
  33. package/lib/syntax/CodeNode.d.ts +0 -23
  34. package/lib/syntax/Method.d.ts +0 -41
  35. package/lib/syntax/Parameter.d.ts +0 -15
  36. package/lib/syntax/Property.d.ts +0 -50
  37. package/lib/syntax/SourceFile.d.ts +0 -70
  38. package/lib/syntax/c++/CppEnum.d.ts +0 -6
  39. package/lib/syntax/c++/CppHybridObject.d.ts +0 -3
  40. package/lib/syntax/c++/CppHybridObjectRegistration.d.ts +0 -17
  41. package/lib/syntax/c++/CppStruct.d.ts +0 -3
  42. package/lib/syntax/c++/CppUnion.d.ts +0 -6
  43. package/lib/syntax/c++/getForwardDeclaration.d.ts +0 -3
  44. package/lib/syntax/c++/includeNitroHeader.d.ts +0 -7
  45. package/lib/syntax/createType.d.ts +0 -15
  46. package/lib/syntax/getAllTypes.d.ts +0 -3
  47. package/lib/syntax/getCustomTypeConfig.d.ts +0 -8
  48. package/lib/syntax/getInterfaceProperties.d.ts +0 -4
  49. package/lib/syntax/getReferencedTypes.d.ts +0 -2
  50. package/lib/syntax/helpers.d.ts +0 -13
  51. package/lib/syntax/isCoreType.d.ts +0 -9
  52. package/lib/syntax/kotlin/FbjniHybridObject.d.ts +0 -3
  53. package/lib/syntax/kotlin/JNINativeRegistrations.d.ts +0 -8
  54. package/lib/syntax/kotlin/KotlinBoxedPrimitive.d.ts +0 -7
  55. package/lib/syntax/kotlin/KotlinCxxBridgedType.d.ts +0 -19
  56. package/lib/syntax/kotlin/KotlinEnum.d.ts +0 -3
  57. package/lib/syntax/kotlin/KotlinFunction.d.ts +0 -3
  58. package/lib/syntax/kotlin/KotlinHybridObject.d.ts +0 -3
  59. package/lib/syntax/kotlin/KotlinHybridObjectRegistration.d.ts +0 -17
  60. package/lib/syntax/kotlin/KotlinStruct.d.ts +0 -3
  61. package/lib/syntax/kotlin/KotlinVariant.d.ts +0 -3
  62. package/lib/syntax/swift/SwiftCxxBridgedType.d.ts +0 -21
  63. package/lib/syntax/swift/SwiftEnum.d.ts +0 -3
  64. package/lib/syntax/swift/SwiftFunction.d.ts +0 -3
  65. package/lib/syntax/swift/SwiftHybridObject.d.ts +0 -3
  66. package/lib/syntax/swift/SwiftHybridObjectBridge.d.ts +0 -11
  67. package/lib/syntax/swift/SwiftHybridObjectRegistration.d.ts +0 -19
  68. package/lib/syntax/swift/SwiftStruct.d.ts +0 -3
  69. package/lib/syntax/swift/SwiftVariant.d.ts +0 -3
  70. package/lib/syntax/types/ArrayBufferType.d.ts +0 -10
  71. package/lib/syntax/types/BigIntType.d.ts +0 -10
  72. package/lib/syntax/types/BooleanType.d.ts +0 -10
  73. package/lib/syntax/types/DateType.d.ts +0 -10
  74. package/lib/syntax/types/EnumType.d.ts +0 -23
  75. package/lib/syntax/types/ErrorType.d.ts +0 -11
  76. package/lib/syntax/types/FunctionType.d.ts +0 -29
  77. package/lib/syntax/types/HybridObjectBaseType.d.ts +0 -11
  78. package/lib/syntax/types/HybridObjectType.d.ts +0 -23
  79. package/lib/syntax/types/MapType.d.ts +0 -10
  80. package/lib/syntax/types/NamedWrappingType.d.ts +0 -14
  81. package/lib/syntax/types/NullType.d.ts +0 -10
  82. package/lib/syntax/types/NumberType.d.ts +0 -10
  83. package/lib/syntax/types/OptionalType.d.ts +0 -13
  84. package/lib/syntax/types/PromiseType.d.ts +0 -16
  85. package/lib/syntax/types/RecordType.d.ts +0 -13
  86. package/lib/syntax/types/ResultWrappingType.d.ts +0 -13
  87. package/lib/syntax/types/StringType.d.ts +0 -10
  88. package/lib/syntax/types/StructType.d.ts +0 -14
  89. package/lib/syntax/types/TupleType.d.ts +0 -12
  90. package/lib/syntax/types/Type.d.ts +0 -55
  91. package/lib/syntax/types/VariantType.d.ts +0 -19
  92. package/lib/syntax/types/VoidType.d.ts +0 -10
  93. package/lib/syntax/types/getTypeAs.d.ts +0 -2
  94. package/lib/utils.d.ts +0 -22
  95. package/lib/views/CppHybridViewComponent.d.ts +0 -14
  96. package/lib/views/createHostComponentJs.d.ts +0 -3
  97. package/lib/views/kotlin/KotlinHybridViewManager.d.ts +0 -3
  98. package/lib/views/swift/SwiftHybridViewManager.d.ts +0 -3
  99. package/lib/writeFile.d.ts +0 -5
@@ -1,11 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class ErrorType implements Type {
5
- constructor();
6
- get canBePassedByReference(): boolean;
7
- get kind(): TypeKind;
8
- getCode(language: Language): string;
9
- getExtraFiles(): SourceFile[];
10
- getRequiredImports(language: Language): SourceImport[];
11
- }
@@ -1,29 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, NamedType, Type, TypeKind } from './Type.js';
4
- export interface GetFunctionCodeOptions extends GetCodeOptions {
5
- includeNameInfo?: boolean;
6
- }
7
- export declare class FunctionType implements Type {
8
- readonly returnType: Type;
9
- readonly parameters: NamedType[];
10
- constructor(returnType: Type, parameters: NamedType[], isSync?: boolean);
11
- get specializationName(): string;
12
- get jsName(): string;
13
- get canBePassedByReference(): boolean;
14
- get kind(): TypeKind;
15
- /**
16
- * For a function, get the forward recreation of it:
17
- * If variable is called `func`, this would return:
18
- * ```cpp
19
- * [func = std::move(func)](Params... params) -> ReturnType {
20
- * return func(params...);
21
- * }
22
- * ```
23
- */
24
- getForwardRecreationCode(variableName: string, language: Language): string;
25
- getCppFunctionPointerType(name: string, includeNameInfo?: boolean): string;
26
- getCode(language: Language, options?: GetFunctionCodeOptions): string;
27
- getExtraFiles(): SourceFile[];
28
- getRequiredImports(language: Language): SourceImport[];
29
- }
@@ -1,11 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class HybridObjectBaseType implements Type {
5
- constructor();
6
- get canBePassedByReference(): boolean;
7
- get kind(): TypeKind;
8
- getCode(language: Language): string;
9
- getExtraFiles(): SourceFile[];
10
- getRequiredImports(language: Language): SourceImport[];
11
- }
@@ -1,23 +0,0 @@
1
- import { type NitroConfig } from '../../config/NitroConfig.js';
2
- import type { Language } from '../../getPlatformSpecs.js';
3
- import type { HybridObjectSpec } from '../HybridObjectSpec.js';
4
- import type { SourceFile, SourceImport } from '../SourceFile.js';
5
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
6
- interface GetHybridObjectCodeOptions extends GetCodeOptions {
7
- mode?: 'strong' | 'weak';
8
- }
9
- export declare class HybridObjectType implements Type {
10
- readonly hybridObjectName: string;
11
- readonly implementationLanguage: Language;
12
- readonly baseTypes: HybridObjectType[];
13
- readonly sourceConfig: NitroConfig;
14
- constructor(hybridObjectName: string, implementationLanguage: Language, baseTypes: HybridObjectType[], sourceConfig: NitroConfig);
15
- constructor(spec: HybridObjectSpec);
16
- get canBePassedByReference(): boolean;
17
- get kind(): TypeKind;
18
- getCode(language: Language, options?: GetHybridObjectCodeOptions): string;
19
- getExtraFiles(): SourceFile[];
20
- private getExternalCxxImportName;
21
- getRequiredImports(language: Language): SourceImport[];
22
- }
23
- export {};
@@ -1,10 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class MapType implements Type {
5
- get canBePassedByReference(): boolean;
6
- get kind(): TypeKind;
7
- getCode(language: Language): string;
8
- getExtraFiles(): SourceFile[];
9
- getRequiredImports(language: Language): SourceImport[];
10
- }
@@ -1,14 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, NamedType, Type, TypeKind } from './Type.js';
4
- export declare class NamedWrappingType<T extends Type> implements NamedType {
5
- readonly type: T;
6
- readonly name: string;
7
- constructor(name: string, type: T);
8
- get escapedName(): string;
9
- get kind(): TypeKind;
10
- get canBePassedByReference(): boolean;
11
- getCode(language: Language, options?: GetCodeOptions): string;
12
- getExtraFiles(): SourceFile[];
13
- getRequiredImports(language: Language): SourceImport[];
14
- }
@@ -1,10 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class NullType implements Type {
5
- get canBePassedByReference(): boolean;
6
- get kind(): TypeKind;
7
- getCode(language: Language): string;
8
- getExtraFiles(): SourceFile[];
9
- getRequiredImports(): SourceImport[];
10
- }
@@ -1,10 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class NumberType implements Type {
5
- get canBePassedByReference(): boolean;
6
- get kind(): TypeKind;
7
- getCode(language: Language): string;
8
- getExtraFiles(): SourceFile[];
9
- getRequiredImports(): SourceImport[];
10
- }
@@ -1,13 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
4
- export declare class OptionalType implements Type {
5
- readonly wrappingType: Type;
6
- constructor(wrappingType: Type);
7
- get canBePassedByReference(): boolean;
8
- get kind(): TypeKind;
9
- get needsBraces(): boolean;
10
- getCode(language: Language, options?: GetCodeOptions): string;
11
- getExtraFiles(): SourceFile[];
12
- getRequiredImports(language: Language): SourceImport[];
13
- }
@@ -1,16 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import { FunctionType } from './FunctionType.js';
4
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
5
- export declare class PromiseType implements Type {
6
- readonly resultingType: Type;
7
- readonly errorType: Type;
8
- constructor(resultingType: Type);
9
- get canBePassedByReference(): boolean;
10
- get kind(): TypeKind;
11
- get resolverFunction(): FunctionType;
12
- get rejecterFunction(): FunctionType;
13
- getCode(language: Language, options?: GetCodeOptions): string;
14
- getExtraFiles(): SourceFile[];
15
- getRequiredImports(language: Language): SourceImport[];
16
- }
@@ -1,13 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
4
- export declare class RecordType implements Type {
5
- readonly keyType: Type;
6
- readonly valueType: Type;
7
- constructor(keyType: Type, valueType: Type);
8
- get canBePassedByReference(): boolean;
9
- get kind(): TypeKind;
10
- getCode(language: Language, options?: GetCodeOptions): string;
11
- getExtraFiles(): SourceFile[];
12
- getRequiredImports(language: Language): SourceImport[];
13
- }
@@ -1,13 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
4
- export declare class ResultWrappingType implements Type {
5
- readonly result: Type;
6
- readonly error: Type;
7
- constructor(result: Type);
8
- get canBePassedByReference(): boolean;
9
- get kind(): TypeKind;
10
- getCode(language: Language, options?: GetCodeOptions): string;
11
- getExtraFiles(): SourceFile[];
12
- getRequiredImports(language: Language): SourceImport[];
13
- }
@@ -1,10 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class StringType implements Type {
5
- get canBePassedByReference(): boolean;
6
- get kind(): TypeKind;
7
- getCode(language: Language): string;
8
- getExtraFiles(): SourceFile[];
9
- getRequiredImports(language: Language): SourceImport[];
10
- }
@@ -1,14 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type FileWithReferencedTypes, type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, NamedType, Type, TypeKind } from './Type.js';
4
- export declare class StructType implements Type {
5
- readonly structName: string;
6
- readonly properties: NamedType[];
7
- readonly declarationFile: FileWithReferencedTypes;
8
- constructor(structName: string, properties: NamedType[]);
9
- get canBePassedByReference(): boolean;
10
- get kind(): TypeKind;
11
- getCode(language: Language, { fullyQualified }?: GetCodeOptions): string;
12
- getExtraFiles(): SourceFile[];
13
- getRequiredImports(language: Language): SourceImport[];
14
- }
@@ -1,12 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
4
- export declare class TupleType implements Type {
5
- readonly itemTypes: Type[];
6
- constructor(itemTypes: Type[]);
7
- get canBePassedByReference(): boolean;
8
- get kind(): TypeKind;
9
- getCode(language: Language, options?: GetCodeOptions): string;
10
- getExtraFiles(): SourceFile[];
11
- getRequiredImports(language: Language): SourceImport[];
12
- }
@@ -1,55 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- export type TypeKind = 'array-buffer' | 'array' | 'bigint' | 'boolean' | 'custom-type' | 'enum' | 'error' | 'function' | 'hybrid-object' | 'hybrid-object-base' | 'map' | 'null' | 'number' | 'optional' | 'promise' | 'record' | 'string' | 'struct' | 'tuple' | 'variant' | 'result-wrapper' | 'date' | 'void';
4
- export interface GetCodeOptions {
5
- /**
6
- * Specifies whether the name (e.g. a C++ class name)
7
- * should use the fully qualified namespace name prefix.
8
- */
9
- fullyQualified?: boolean;
10
- }
11
- /**
12
- * Represents a TypeScript Type that can be represented in a native language (C++, Swift, Kotlin)
13
- */
14
- export interface Type {
15
- /**
16
- * Get whether this type can be passed by reference in C++ (`const T&` vs `T`)
17
- */
18
- readonly canBePassedByReference: boolean;
19
- /**
20
- * Get the kind of the type.
21
- */
22
- readonly kind: TypeKind;
23
- /**
24
- * Get the native code required to represent this type for the given language (C++, Swift, Kotlin).
25
- *
26
- * E.g. for a `number` type, this would return `'double'` in C++.
27
- *
28
- * The `options` parameter can specify custom options. Subclasses may have more options.
29
- */
30
- getCode(language: Language, options?: GetCodeOptions): string;
31
- /**
32
- * Get all required extra files that need to be **created** for this type to properly work.
33
- *
34
- * E.g. for `type Gender = 'male' | 'female'`, the enum `Gender` needs to be created first (as a separate file).
35
- */
36
- getExtraFiles(): SourceFile[];
37
- /**
38
- * Get all required extra imports that need to be **imported** for this type to properly work.
39
- */
40
- getRequiredImports(language: Language): SourceImport[];
41
- }
42
- export interface NamedType extends Type {
43
- /**
44
- * Get the name of the value if it is a member or parameter.
45
- *
46
- * E.g. for a class member `double _something`, this returns `'_something'`.
47
- */
48
- readonly name: string;
49
- /**
50
- * Get the name of the value escaped as a valid C++ variable name.
51
- *
52
- * E.g. for a class member `double some-value`, this returns `'some_value'`.
53
- */
54
- readonly escapedName: string;
55
- }
@@ -1,19 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import { type SourceFile, type SourceImport } from '../SourceFile.js';
3
- import type { GetCodeOptions, Type, TypeKind } from './Type.js';
4
- export declare const VariantLabels: readonly ["first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eigth", "ninth", "tenth"];
5
- type VariantLabel = (typeof VariantLabels)[number];
6
- export declare class VariantType implements Type {
7
- readonly variants: Type[];
8
- readonly aliasName?: string;
9
- constructor(variants: Type[], aliasName?: string);
10
- get canBePassedByReference(): boolean;
11
- get kind(): TypeKind;
12
- get jsType(): string;
13
- get cases(): [VariantLabel, Type][];
14
- getAliasName(language: Language, options?: GetCodeOptions): string;
15
- getCode(language: Language, options?: GetCodeOptions): string;
16
- getExtraFiles(): SourceFile[];
17
- getRequiredImports(language: Language): SourceImport[];
18
- }
19
- export {};
@@ -1,10 +0,0 @@
1
- import type { Language } from '../../getPlatformSpecs.js';
2
- import type { SourceFile, SourceImport } from '../SourceFile.js';
3
- import type { Type, TypeKind } from './Type.js';
4
- export declare class VoidType implements Type {
5
- get canBePassedByReference(): boolean;
6
- get kind(): TypeKind;
7
- getCode(language: Language): string;
8
- getExtraFiles(): SourceFile[];
9
- getRequiredImports(): SourceImport[];
10
- }
@@ -1,2 +0,0 @@
1
- import type { Type } from './Type.js';
2
- export declare function getTypeAs<T>(type: Type, classReference: new (...args: any[]) => T): T;
package/lib/utils.d.ts DELETED
@@ -1,22 +0,0 @@
1
- import type { SourceFile } from './syntax/SourceFile.js';
2
- import type { SwiftCxxHelper } from './syntax/swift/SwiftCxxTypeHelper.js';
3
- import type { Type } from 'ts-morph';
4
- import { NitroConfig } from './config/NitroConfig.js';
5
- export declare const NITROGEN_VERSION: string;
6
- export declare function capitalizeName(name: string): string;
7
- export declare function createIndentation(spacesCount: number): string;
8
- export declare function indent(string: string, spacesCount: number): string;
9
- export declare function indent(string: string, indentation: string): string;
10
- export declare function errorToString(error: unknown): string;
11
- export declare function escapeComments(string: string): string;
12
- export declare function toUnixPath(p: string): string;
13
- export declare function unsafeFastJoin(...segments: string[]): string;
14
- /**
15
- * Deduplicates all files via their full path.
16
- * If content differs, you are f*cked.
17
- */
18
- export declare function deduplicateFiles(files: SourceFile[]): SourceFile[];
19
- export declare function filterDuplicateHelperBridges(bridge: SwiftCxxHelper, i: number, array: SwiftCxxHelper[]): boolean;
20
- export declare function toLowerCamelCase(string: string): string;
21
- export declare function getBaseTypes(type: Type): Type[];
22
- export declare function getHybridObjectNitroModuleConfig(type: Type): NitroConfig | undefined;
@@ -1,14 +0,0 @@
1
- import type { SourceFile } from '../syntax/SourceFile.js';
2
- import type { HybridObjectSpec } from '../syntax/HybridObjectSpec.js';
3
- interface ViewComponentNames {
4
- propsClassName: `${string}Props`;
5
- stateClassName: `${string}State`;
6
- nameVariable: `${string}ComponentName`;
7
- shadowNodeClassName: `${string}ShadowNode`;
8
- descriptorClassName: `${string}ComponentDescriptor`;
9
- component: `${string}Component`;
10
- manager: `${string}Manager`;
11
- }
12
- export declare function getViewComponentNames(spec: HybridObjectSpec): ViewComponentNames;
13
- export declare function createViewComponentShadowNodeFiles(spec: HybridObjectSpec): SourceFile[];
14
- export {};
@@ -1,3 +0,0 @@
1
- import type { HybridObjectSpec } from '../syntax/HybridObjectSpec.js';
2
- import type { SourceFile } from '../syntax/SourceFile.js';
3
- export declare function createHostComponentJs(spec: HybridObjectSpec): SourceFile[];
@@ -1,3 +0,0 @@
1
- import type { SourceFile } from '../../syntax/SourceFile.js';
2
- import type { HybridObjectSpec } from '../../syntax/HybridObjectSpec.js';
3
- export declare function createKotlinHybridViewManager(spec: HybridObjectSpec): SourceFile[];
@@ -1,3 +0,0 @@
1
- import type { SourceFile } from '../../syntax/SourceFile.js';
2
- import type { HybridObjectSpec } from '../../syntax/HybridObjectSpec.js';
3
- export declare function createSwiftHybridViewManager(spec: HybridObjectSpec): SourceFile[];
@@ -1,5 +0,0 @@
1
- import type { SourceFile } from './syntax/SourceFile.js';
2
- /**
3
- * Writes the given file to disk and returns it's actual path.
4
- */
5
- export declare function writeFile(basePath: string, file: SourceFile): Promise<string>;