/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import qs from 'qs';
import { Option } from '../type';
export declare const getURLSearchParams: (search: string) => qs.ParsedQs;
export declare const getURLSearchParamsChildren: (queryParams: Record<string, any>) => Option[];
export declare const useURLSearchParamsCtx: (search: string) => {};
/**
 * 变量：`URL search params`
 * @param props
 * @returns
 */
export declare const useURLSearchParamsVariable: (props?: any) => {
    name: string;
    /** 变量配置 */
    urlSearchParamsSettings: Option;
    /** 变量值 */
    urlSearchParamsCtx: {};
    /**
     * 这里的默认值是 null，这样会导致数据范围中的 filter 条件不会被清除掉，而 URL search params 变量的值为空时，应该清除掉 filter 条件，
     * 所以这里把 defaultValue 设置为 undefined，这样在解析出来的值是 undefined 时，会返回 undefined，从而清除掉 filter 条件。
     */
    defaultValue: any;
    shouldDisplay: boolean;
};
