/** * Parameter definition for a mobile SDK capability. * Describes a single parameter's name, type, and requirements. * * @see MobileSDKCapability - Used in the parameters array */ export interface MobileSDKCapabilityParameter { name: string; type: 'string' | 'boolean' | 'number' | 'object'; required: boolean; } /** * Mobile SDK capability definition. * Describes a capability exposed by the mobile SDK with its type and parameters. * * @typeParam T - Either 'source' for data retrieval or 'action' for operations * * @see MobileSDKCapabilityResponse - Returned from capability discovery */ export interface MobileSDKCapability { functionName: string; type: T; parameters: MobileSDKCapabilityParameter[]; } /** * Response from mobile SDK capability discovery. * Lists all capabilities available from a specific mobile module. * * @see Mobile SDK integration - Used during capability negotiation */ export interface MobileSDKCapabilityResponse { capabilities: MobileSDKCapability<'source' | 'action'>[]; moduleIdentifier: string; } /** * Capabilities grouped by type (actions vs sources). * Provides organized access to capabilities by their category. */ export interface MobileSDKCapabilityGrouped { actions: MobileSDKCapability<'action'>[]; sources: MobileSDKCapability<'source'>[]; } /** * Grouped capability response including module identifier. * Combines grouped capabilities with the source module information. */ export interface MobileSDKCapabilityGroupedResponse extends MobileSDKCapabilityGrouped { moduleIdentifier: string; } /** * Result of validating parameters for a mobile SDK capability call. * Indicates whether the provided parameters are valid for the capability. */ export interface MobileSDKParameterValidationResponse { valid: boolean; error?: string; } /** * Response from executing a mobile module capability. * Contains execution status and any returned data or errors. */ export interface MobileModuleResponse { error: string | undefined; executed: boolean; response: any; } //# sourceMappingURL=mobile.d.ts.map