export function createApi(backendUrl: any, importerKey: any): {
    auth: {
        /**
         * Login to get access token
         * @param {string} email - User email
         * @param {string} password - User password
         * @returns {Promise<Object>} - Response with access token
         */
        login: (email: string, password: string) => Promise<Object>;
        /**
         * Get current user information
         * @param {string} token - Access token
         * @returns {Promise<Object>} - User information
         */
        getCurrentUser: (token: string) => Promise<Object>;
    };
    schema: {
        /**
         * Get all schemas
         * @param {string} token - Access token
         * @returns {Promise<Array>} - List of schemas
         */
        getSchemas: (token: string) => Promise<any[]>;
        /**
         * Get schema template for CSV importer
         * @param {string} token - Access token
         * @param {number} schemaId - Schema ID
         * @returns {Promise<Object>} - Schema template
         */
        getSchemaTemplate: (token: string, schemaId: number) => Promise<Object>;
    };
    import: {
        /**
         * Process CSV data from the frontend importer
         * @param {string} token - Access token
         * @param {number} schemaId - Schema ID
         * @param {Object} importData - Data from CSV importer
         * @returns {Promise<Object>} - Import job information
         */
        processCSVData: (token: string, schemaId: number, importData: Object) => Promise<Object>;
        /**
         * Get import job status
         * @param {string} token - Access token
         * @param {number} jobId - Import job ID
         * @returns {Promise<Object>} - Import job status
         */
        getImportJobStatus: (token: string, jobId: number) => Promise<Object>;
    };
};
export default createApi;
