import { type ClickableAnchorLink } from '@dereekb/dbx-core';
import { type Maybe } from '@dereekb/util';
import { type Observable } from 'rxjs';
/**
 * Configuration for the preset filter menus
 */
export interface DbxPresetFilterMenuConfig {
    /**
     * The text to display for the unknown selection.
     */
    readonly unknownSelectionText?: string;
    /**
     * The icon to use for the filter, or false if no icon should be shown.
     */
    readonly filterIcon?: Maybe<string> | false;
    /**
     * Whether or not to use the preset's icon if one is defined. If filterIcon is false, the icon will only appear when an item is selected.
     */
    readonly usePresetIcon?: boolean;
}
export declare function dbxPresetFilterMenuButtonTextObservable(config$: Observable<DbxPresetFilterMenuConfig>, selection$: Observable<Maybe<Partial<Pick<ClickableAnchorLink, 'title'>>>>, defaultText?: string): Observable<string>;
export declare function dbxPresetFilterMenuButtonIconObservable(config$: Observable<DbxPresetFilterMenuConfig>, selection$: Observable<Maybe<Partial<Pick<ClickableAnchorLink, 'icon'>>>>, defaultIcon?: string): Observable<Maybe<string>>;
