import type { RegularCollectionId } from "../../../../../frontend/src/metabase-types/api";
export type SDKCollectionReference = RegularCollectionId | "personal" | "root";
/**
 * Converts "personal" and "root" to the _numeric_ ids accepted by the api
 * For the root collection id, the API expects null
 */
export declare const getCollectionNumericIdFromReference: ((state: any, collectionReference: SDKCollectionReference) => SDKCollectionReference | null) & {
    clearCache: () => void;
    resultsCount: () => number;
    resetResultsCount: () => void;
} & {
    resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined, resultFuncArgs_1: SDKCollectionReference) => SDKCollectionReference | null;
    memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined, resultFuncArgs_1: SDKCollectionReference) => SDKCollectionReference | null) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    };
    lastResult: () => SDKCollectionReference | null;
    dependencies: [((state: import("../../../../../frontend/src/metabase-types/store").State) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    } & {
        resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined;
        memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined) & {
            clearCache: () => void;
            resultsCount: () => number;
            resetResultsCount: () => void;
        };
        lastResult: () => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined;
        dependencies: [(state: import("../../../../../frontend/src/metabase-types/store").State) => import("../../../../../frontend/src/metabase-types/api").User | null];
        recomputations: () => number;
        resetRecomputations: () => void;
        dependencyRecomputations: () => number;
        resetDependencyRecomputations: () => void;
    } & {
        argsMemoize: typeof import("reselect").weakMapMemoize;
        memoize: typeof import("reselect").weakMapMemoize;
    }, (_: any, collectionReference: SDKCollectionReference) => SDKCollectionReference];
    recomputations: () => number;
    resetRecomputations: () => void;
    dependencyRecomputations: () => number;
    resetDependencyRecomputations: () => void;
} & {
    argsMemoize: typeof import("reselect").weakMapMemoize;
    memoize: typeof import("reselect").weakMapMemoize;
};
/**
 * This return an "id"/"slug" that can be used in `/api/collection/{:id}`
 * There are extra handlers for "root" and "trash" so unlike when
 * creating a dashboard, we have to pass "root" for the root collection
 * instead of null
 */
export declare const getCollectionIdSlugFromReference: ((state: any, collectionReference: SDKCollectionReference) => SDKCollectionReference) & {
    clearCache: () => void;
    resultsCount: () => number;
    resetResultsCount: () => void;
} & {
    resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined, resultFuncArgs_1: SDKCollectionReference) => SDKCollectionReference;
    memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined, resultFuncArgs_1: SDKCollectionReference) => SDKCollectionReference) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    };
    lastResult: () => SDKCollectionReference;
    dependencies: [((state: import("../../../../../frontend/src/metabase-types/store").State) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    } & {
        resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined;
        memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined) & {
            clearCache: () => void;
            resultsCount: () => number;
            resetResultsCount: () => void;
        };
        lastResult: () => import("../../../../../frontend/src/metabase-types/api").CollectionId | undefined;
        dependencies: [(state: import("../../../../../frontend/src/metabase-types/store").State) => import("../../../../../frontend/src/metabase-types/api").User | null];
        recomputations: () => number;
        resetRecomputations: () => void;
        dependencyRecomputations: () => number;
        resetDependencyRecomputations: () => void;
    } & {
        argsMemoize: typeof import("reselect").weakMapMemoize;
        memoize: typeof import("reselect").weakMapMemoize;
    }, (_: any, collectionReference: SDKCollectionReference) => SDKCollectionReference];
    recomputations: () => number;
    resetRecomputations: () => void;
    dependencyRecomputations: () => number;
    resetDependencyRecomputations: () => void;
} & {
    argsMemoize: typeof import("reselect").weakMapMemoize;
    memoize: typeof import("reselect").weakMapMemoize;
};
