import { type SearchStatus } from '@coveo/headless';
import { LitElement } from 'lit';
import type { InitializableComponent } from '../../../decorators/types';
import type { Bindings } from '../atomic-search-interface/atomic-search-interface';
import '../atomic-refine-modal/atomic-refine-modal';
/**
 * The `atomic-refine-toggle` component displays a button that opens a modal containing the facets and the sort components.
 *
 * When this component is added to the `atomic-search-interface`, an `atomic-refine-modal` component is automatically created.
 *
 * @part button - The refine toggle button.
 * @part placeholder - The placeholder shown while the first request is being executed.
 */
export declare class AtomicRefineToggle extends LitElement implements InitializableComponent<Bindings> {
    bindings: Bindings;
    error: Error;
    searchStatus: SearchStatus;
    private searchStatusState;
    /**
     * The number of expanded facets inside the refine modal.
     * Remaining facets are automatically collapsed.
     *
     * Using the value `0` collapses all facets.
     */
    collapseFacetsAfter: number;
    private modalRef?;
    private buttonRef?;
    initialize(): void;
    private loadModal;
    private enableModal;
    render(): import("lit-html").TemplateResult<1>;
}
declare global {
    interface HTMLElementTagNameMap {
        'atomic-refine-toggle': AtomicRefineToggle;
    }
}
