import { AxiosInstance } from 'axios';

// Fix React default export type error
declare module 'react' {
    export default React;
}


declare global {
    interface Window {
        axios: AxiosInstance;
        Echo: any;
    }

    // Ziggy route helper function
    function route(name: string, params?: any): string;
    namespace route {
        function current(): string;
        function current(name: string): boolean;
    }
}

export { };
