import { Signal, Prop } from '@tempots/dom';
import type { LexicalEditor } from 'lexical';
import type { SlashCommandDefinition } from '../../../lexical/types';
export interface SlashCommandPaletteOptions {
    editor: Signal<LexicalEditor | null>;
    commands: SlashCommandDefinition[];
    isVisible: Prop<boolean>;
    filterText: Signal<string>;
    position: Signal<{
        top: number;
        left: number;
    }>;
    onSelect: (command: SlashCommandDefinition) => void;
    onDismiss: () => void;
}
/**
 * Default slash commands for the editor
 */
export declare const DEFAULT_SLASH_COMMANDS: SlashCommandDefinition[];
export declare function SlashCommandPalette({ commands, isVisible, filterText, position, onSelect, onDismiss, }: SlashCommandPaletteOptions): import("@tempots/dom").Renderable;
