import type { Session } from '../sessions/sessions'; export type BaseRequest = { version: string; sender: string; uuid: string; callbackUrl: string; }; export type HandshakeContent = { appId: string; callback: string; appName?: string; appIconUrl?: string; initialActions?: { method: string; optional: boolean; paramsJson: string; }[]; }; export type EncryptedRequestContent = { data: string; }; export type DecryptedRequestContent = { account: { chain: string; networkId: number; address: string; }; actions: { method: string; optional: boolean; paramsJson: string; }[]; }; export type DecodedRequest = BaseRequest & { content: { request: EncryptedRequestContent; } | { handshake: HandshakeContent; }; }; type DecryptedRequest = BaseRequest & { content: { request: DecryptedRequestContent; }; }; export declare function decodeRequest(url: string): Promise; export declare function decryptRequest(url: string, session: Session): Promise; export {}; //# sourceMappingURL=decoding.d.ts.map