import { type Result } from './types.js'; export declare function request(fn: () => Promise): Promise>;