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