declare const _default: (url: string, data?: any, withCredentials?: boolean, type?: 'GET' | 'POST' | string, headers?: Record) => Promise; export default _default;