export type Arc0027Method = "discover" | "enable" | "disable" | "sign_transactions" | "post_transactions" | "sign_and_post_transactions" | "sign_message"; export interface Arc0027RequestEnvelope { id: string; reference: string; params?: Record; } export interface Arc0027ResponseEnvelope { id: string; requestId: string; reference: string; result?: Record; error?: { code: number; message: string; data?: unknown; }; } export interface DiscoverResult { providerId: string; name: string; icon?: string; iconUrl?: string; networks: { genesisId: string; genesisHash: string; }[]; } export declare const ARC0027_ERROR_CODES: { readonly UnknownError: 4000; readonly MethodCanceledError: 4001; readonly MethodTimedOutError: 4002; readonly MethodNotSupportedError: 4003; readonly NetworkNotSupportedError: 4004; readonly UnauthorizedSignerError: 4100; readonly InvalidInputError: 4200; }; export declare function buildReference(method: Arc0027Method, kind: "request" | "response"): string;