import { Ref } from 'vue'; import { PitcherEnv } from '../sdk/interfaces'; /** * Composable for SmartStore availability checks * * SmartStore is Salesforce Mobile SDK's local database for offline data access on iOS. * It requires both iOS mode and the sfdc_offline_enabled LaunchDarkly flag to be enabled. * * @param env - Optional reactive environment object from app store (avoids redundant API calls) * * @example * // With app store env (recommended - avoids API calls) * const appStore = useAppStore() * const { shouldUseSmartStore } = useSmartStore(appStore.env) * const enabled = shouldUseSmartStore.value * * @example * // Without env (for canvas-ui internal usage) * const { generateTempSalesforceId } = useSmartStore() * const tempId = generateTempSalesforceId('00U') */ export declare function useSmartStore(env?: Ref | PitcherEnv | null): { shouldUseSmartStore: import('vue').ComputedRef; generateTempSalesforceId: (objectPrefix: string) => string; };