export default function request(url: string, callback: () => void, error: (err?: any) => void): Promise<void>;
