import type { CollectionId } from "../../../../../frontend/src/metabase-types/api";
import type { SdkCollectionId } from "../types/collection";
/**
 * 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: SdkCollectionId) => CollectionId | null) & {
    clearCache: () => void;
    resultsCount: () => number;
    resetResultsCount: () => void;
} & {
    resultFunc: (resultFuncArgs_0: CollectionId | undefined, resultFuncArgs_1: SdkCollectionId) => CollectionId | null;
    memoizedResultFunc: ((resultFuncArgs_0: CollectionId | undefined, resultFuncArgs_1: SdkCollectionId) => CollectionId | null) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    };
    lastResult: () => CollectionId | null;
    dependencies: [((state: import("../../../../../frontend/src/metabase-types/store").State) => CollectionId | undefined) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    } & {
        resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => CollectionId | undefined;
        memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => CollectionId | undefined) & {
            clearCache: () => void;
            resultsCount: () => number;
            resetResultsCount: () => void;
        };
        lastResult: () => 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: SdkCollectionId) => SdkCollectionId];
    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: SdkCollectionId) => CollectionId) & {
    clearCache: () => void;
    resultsCount: () => number;
    resetResultsCount: () => void;
} & {
    resultFunc: (resultFuncArgs_0: CollectionId | undefined, resultFuncArgs_1: SdkCollectionId) => CollectionId;
    memoizedResultFunc: ((resultFuncArgs_0: CollectionId | undefined, resultFuncArgs_1: SdkCollectionId) => CollectionId) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    };
    lastResult: () => CollectionId;
    dependencies: [((state: import("../../../../../frontend/src/metabase-types/store").State) => CollectionId | undefined) & {
        clearCache: () => void;
        resultsCount: () => number;
        resetResultsCount: () => void;
    } & {
        resultFunc: (resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => CollectionId | undefined;
        memoizedResultFunc: ((resultFuncArgs_0: import("../../../../../frontend/src/metabase-types/api").User | null) => CollectionId | undefined) & {
            clearCache: () => void;
            resultsCount: () => number;
            resetResultsCount: () => void;
        };
        lastResult: () => 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: SdkCollectionId) => SdkCollectionId];
    recomputations: () => number;
    resetRecomputations: () => void;
    dependencyRecomputations: () => number;
    resetDependencyRecomputations: () => void;
} & {
    argsMemoize: typeof import("reselect").weakMapMemoize;
    memoize: typeof import("reselect").weakMapMemoize;
};
