export interface MessageRequest { url: string; req?: RequestInit; requestId: string; origin: string; } export interface MessageResponse { postreq: boolean; status: number; statusText: string; headers: { [key: string]: string; }; json?: string; blob?: Blob; formData?: FormData; arrayBuffer?: ArrayBuffer; text?: string; ok: boolean; error?: Error; type: string; redirected: boolean; url: string; requestId: string; } export declare function random(length: number): string;