You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
627 B

import { ConfigPlugin } from '../Plugin.types';
import { InfoPlist } from './IosConfig.types';
export declare function applyPermissions<Defaults extends Record<string, string> = Record<string, string>>(defaults: Defaults, permissions: Partial<Record<keyof Defaults, string | false>>, infoPlist: InfoPlist): InfoPlist;
/**
* Helper method for creating mods to apply default permissions.
*
* @param action
*/
export declare function createPermissionsPlugin<Defaults extends Record<string, string> = Record<string, string>>(defaults: Defaults, name?: string): ConfigPlugin<Record<keyof Defaults, string | false | undefined>>;