/** * Capacities x-callback-url parameters. */ export type CapacitiesXCallback = { /** * Name of the app calling the action. */ xSource?: string; /** * Deeplink URL to call if the action was successful. */ xSuccess?: string; /** * Deeplink URL to call if the action failed. */ xError?: string; }; export declare function xCallbackParams(payload: CapacitiesXCallback): { 'x-error'?: string | undefined; 'x-success'?: string | undefined; 'x-source'?: string | undefined; }; export declare function xCallbackUrl(action: string, params?: Record): string;