craft-native 0.0.369 → 0.0.375

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.
@@ -0,0 +1,13 @@
1
+ import type { CraftConfig } from './index.js';
2
+ export declare const iosPermissionNames: readonly ['speech', 'microphone', 'camera', 'photos', 'location', 'contacts', 'calendar', 'bluetooth', 'motion', 'biometric', 'music', 'health', 'nfc'];
3
+ export type IOSPermission = typeof iosPermissionNames[number];
4
+ export declare function iosPermissions(config: Partial<CraftConfig>): IOSPermission[];
5
+ export declare function iosPermissionMask(config: Partial<CraftConfig>): number;
6
+ /** Bake gates into restored sources too; existing Xcode projects may have stale build flags. */
7
+ export declare function renderPermissionSource(source: string, config: Partial<CraftConfig>): string;
8
+ /** Refuse stale or mismatched archives before replacing a working runtime. */
9
+ export declare function verifyRuntimeProfile(directory: string, config: Partial<CraftConfig>): void;
10
+ export declare function writeInstalledProfile(directory: string, config: Partial<CraftConfig>, source?: string): void;
11
+ export declare function verifyInstalledProfile(directory: string, config: Partial<CraftConfig>): void;
12
+ /** Build from an explicitly supplied Craft Zig source package, never a guessed checkout. */
13
+ export declare function withAppRuntime<T>(source: string, config: Partial<CraftConfig>, use: (directory: string) => Promise<T>): Promise<T>;