import type { HybridObject } from 'react-native-nitro-modules'; export interface SetItemParams { key: string; value: string; enableSync?: boolean; label?: string; description?: string; } export interface GetItemParams { key: string; } export interface RemoveItemParams { key: string; } export interface HasItemParams { key: string; } export interface GetItemResult { key: string; value: string; } export interface KeychainModule extends HybridObject<{ ios: 'swift'; android: 'kotlin' }> { setItem(params: SetItemParams): Promise; getItem(params: GetItemParams): Promise; removeItem(params: RemoveItemParams): Promise; hasItem(params: HasItemParams): Promise; isICloudSyncEnabled(): Promise; }