import type { RegistrationState } from './hooks/extensions/use-register-extension'; /** * Registry for extension state types that can be augmented by extension packages * * Extension packages should augment this interface to register their state types: * * @example * ```typescript * declare module '@mappedin/react-native-sdk' { * interface ExtensionRegistry { * 'dynamic-focus': DynamicFocusExtensionState; * } * } * ``` */ export interface ExtensionRegistry { [extensionName: string]: BaseExtensionState; } export type BaseExtensionState = { registrationState: RegistrationState; }; /** * Type-safe extensions object that preserves registered extension types * while allowing unknown extensions for backward compatibility */ export type ExtensionsObject = { [K in keyof ExtensionRegistry]: ExtensionRegistry[K]; }; //# sourceMappingURL=extension-registry.d.ts.map