import * as zod from "zod"; import { LinkModuleOptions, LinkModuleResult, ModuleLinker } from "./link-modules.js"; import { ExpectedFrameworkSlice } from "./xcode-helpers.js"; export declare function ensureXcodeBuildPhase(fromPath: string): Promise; declare const XcframeworkInfoSchema: zod.ZodObject<{ AvailableLibraries: zod.ZodArray; SupportedArchitectures: zod.ZodArray; SupportedPlatform: zod.ZodString; SupportedPlatformVariant: zod.ZodOptional; }, zod.z.core.$loose>>; CFBundlePackageType: zod.ZodLiteral<"XFWK">; XCFrameworkFormatVersion: zod.ZodLiteral<"1.0">; }, zod.z.core.$loose>; export declare function readXcframeworkInfo(infoPlistPath: string): Promise<{ [x: string]: unknown; AvailableLibraries: { [x: string]: unknown; BinaryPath: string; LibraryIdentifier: string; LibraryPath: string; SupportedArchitectures: string[]; SupportedPlatform: string; DebugSymbolsPath?: string | undefined; SupportedPlatformVariant?: string | undefined; }[]; CFBundlePackageType: "XFWK"; XCFrameworkFormatVersion: "1.0"; }>; export declare function writeXcframeworkInfo(xcframeworkPath: string, info: zod.infer): Promise; declare const FrameworkInfoSchema: zod.ZodObject<{ CFBundlePackageType: zod.ZodLiteral<"FMWK">; CFBundleInfoDictionaryVersion: zod.ZodLiteral<"6.0">; CFBundleExecutable: zod.ZodString; }, zod.z.core.$loose>; export declare function readFrameworkInfo(infoPlistPath: string): Promise<{ [x: string]: unknown; CFBundlePackageType: "FMWK"; CFBundleInfoDictionaryVersion: "6.0"; CFBundleExecutable: string; }>; export declare function writeFrameworkInfo(infoPlistPath: string, info: zod.infer): Promise; type LinkFrameworkOptions = { frameworkPath: string; debugSymbolsPath?: string; newLibraryName: string; }; export declare function linkFramework(options: LinkFrameworkOptions): Promise; export declare function linkFlatFramework({ frameworkPath, debugSymbolsPath, newLibraryName, }: LinkFrameworkOptions): Promise; /** * NPM packages aren't preserving internal symlinks inside versioned frameworks. * This function attempts to restore those. */ export declare function restoreVersionedFrameworkSymlinks(frameworkPath: string): Promise; export declare function linkVersionedFramework({ frameworkPath, newLibraryName, }: LinkFrameworkOptions): Promise; export declare function createAppleLinker(): Promise; export declare function linkXcframework({ modulePath, naming, outputPath: outputParentPath, expectedSlice, signingIdentity, }: LinkModuleOptions & { outputPath: string; expectedSlice: ExpectedFrameworkSlice; /** * If not provided, the framework will not be signed. * If provided, the framework will be signed with the given identity. */ signingIdentity?: string; }): Promise; export declare function signFramework({ frameworkPath, identity, }: { frameworkPath: string; identity: string; }): Promise; export {}; //# sourceMappingURL=apple.d.ts.map