import * as axios from 'axios';
import { AxiosInstance } from 'axios';
import { QueryClient } from '@tanstack/react-query';
import { C as Check } from './lineagecheck-BQaKAQzn.js';
export { A as CatalogMetadata, t as CllInput, v as CllNodeData, w as ColumnLineageData, j as CreateCheckBody, ab as HistogramDiffParams, ad as HistogramDiffResult, ac as HistogramResult, I as ImpactRadiusParams, L as LineageData, B as LineageDataFromMetadata, D as LineageDiffData, G as LineageDiffResult, Y as LineageDiffViewOptions, M as ManifestMetadata, W as ModelInfoResult, N as NodeColumnData, y as NodeData, a4 as ProfileDiffParams, a5 as ProfileDiffResult, a6 as ProfileDiffViewOptions, e as QueryDiffParams, f as QueryDiffResult, g as QueryDiffViewOptions, Q as QueryParams, a as QueryPreviewChangeParams, d as QueryResult, a0 as QueryRowCountResult, b as QueryRunParams, c as QueryViewOptions, _ as RowCount, $ as RowCountDiff, ag as RowCountDiffParams, ah as RowCountDiffResult, ae as RowCountParams, af as RowCountResult, as as RunsAggregated, z as SQLMeshInfo, T as ServerInfoResult, ak as SubmitOptions, aj as SubmitRunTrackProps, a8 as TopKDiffParams, aa as TopKDiffResult, a9 as TopKResult, ay as ValueDiffDetailParams, ax as ValueDiffDetailResult, az as ValueDiffDetailViewOptions, av as ValueDiffParams, au as ValueDiffResult, at as aggregateRuns, ao as cancelRun, l as createCheckByRun, Z as createLineageDiffCheck, k as createSimpleCheck, p as deleteCheck, a1 as fetchModelRowCount, n as getCheck, x as getCll, E as getLineage, H as getLineageDiff, F as getLineageWithError, X as getModelInfo, am as getRun, U as getServerInfo, K as gitInfo, m as listChecks, ar as listRuns, q as markAsPresetCheck, O as pullRequestInfo, a2 as queryModelRowCount, a3 as queryRowCount, r as reorderChecks, aq as searchRuns, J as stateMetadata, a7 as submitProfileDiff, s as submitQuery, h as submitQueryBase, i as submitQueryDiff, ai as submitRowCountDiff, al as submitRun, ap as submitRunFromCheck, aw as submitValueDiff, aA as submitValueDiffDetail, o as updateCheck, u as useChecks, an as waitRun } from './lineagecheck-BQaKAQzn.js';
import 'react';
import 'react-icons';
import 'react/jsx-runtime';
import 'ag-grid-community';
import 'ag-grid-react';

declare const axiosClient: axios.AxiosInstance;
declare const reactQueryClient: QueryClient;

interface ConnectToCloud {
    connection_url: string;
}
declare function connectToCloud(): Promise<ConnectToCloud>;

interface RecceServerFlags {
    single_env_onboarding: boolean;
    show_relaunch_hint: boolean;
}
declare function getServerFlag(client?: AxiosInstance): Promise<RecceServerFlags>;
declare function markOnboardingCompleted(client?: AxiosInstance): Promise<void>;
declare function markRelaunchHintCompleted(client?: AxiosInstance): Promise<void>;

interface SchemaDiffViewParams {
    node_id?: string | string[];
    select?: string;
    exclude?: string;
    view_mode?: "all" | "changed_models";
    packages?: string[];
}
declare function createSchemaDiffCheck(params: SchemaDiffViewParams): Promise<Check>;

interface SelectInput {
    select?: string;
    exclude?: string;
    packages?: string[];
    view_mode?: "all" | "changed_models";
}
interface SelectOutput {
    nodes: string[];
}
declare function select(input: SelectInput): Promise<SelectOutput>;

interface SaveAsInput {
    filename: string;
    overwrite?: boolean;
}
interface ImportedState {
    runs: number;
    checks: number;
}
declare function saveAs(input: SaveAsInput): Promise<void>;
declare function rename(input: SaveAsInput): Promise<void>;
declare function exportState(): Promise<string>;
declare function importState(file: File, checksOnly?: boolean): Promise<ImportedState>;
declare function isStateSyncing(): Promise<boolean>;
interface SyncStateInput {
    method?: "overwrite" | "revert" | "merge";
}
interface SyncStateResponse {
    status: "accepted" | "conflict" | "syncing";
}
declare function syncState(input: SyncStateInput): Promise<SyncStateResponse>;
interface ShareStateResponse {
    status: string;
    message: string;
    share_url?: string;
}
declare function shareState(): Promise<ShareStateResponse>;

interface User {
    id: string;
    login: string;
    login_type: string;
    email: string;
    onboarding_state: string;
}
declare function fetchUser(): Promise<User>;
declare function fetchGitHubAvatar(userId: string): Promise<string | null>;

declare function useVersionNumber(): {
    version: string;
    latestVersion: string;
};

declare const localStorageKeys: {
    bypassSaveOverwrite: string;
    previewChangeFeedbackID: string;
    prepareEnvGuideID: string;
};

declare const sessionStorageKeys: {
    recommendationIgnored: string;
    recommendationShowed: string;
    prevRefreshTimeStamp: string;
    lineageNotificationDismissed: string;
};

export { Check, type ConnectToCloud, type ImportedState, type RecceServerFlags, type SaveAsInput, type SchemaDiffViewParams, type SelectInput, type SelectOutput, type ShareStateResponse, type SyncStateInput, type SyncStateResponse, type User, axiosClient, connectToCloud, createSchemaDiffCheck, exportState, fetchGitHubAvatar, fetchUser, getServerFlag, importState, isStateSyncing, localStorageKeys, markOnboardingCompleted, markRelaunchHintCompleted, reactQueryClient, rename, saveAs, select, sessionStorageKeys, shareState, syncState, useVersionNumber };
