import React from 'react';
export type EmojiSuggestionsModalProps = {
    command: (params: {
        emoji: string;
        query: string;
    }) => void;
    items: EmojiWithShortcode[];
    query: string;
    text: string;
    messages: {
        dispatch: (msg: Message) => void;
        subscribe: (cb: Function) => void;
        unsubscribe: (cb: Function) => void;
    };
};
type Message = {
    type: 'onKeyDown';
    payload: {
        event: KeyboardEvent;
    };
} | {
    type: 'onChange';
    payload: {
        items: EmojiWithShortcode[];
        text: string;
    };
};
type EmojiWithShortcode = {
    id: string;
    name: string;
    keyword: string[];
    native: string;
    shortcodes: string;
    unified: string;
};
export declare const EmojiSuggestionsModal: React.FC<EmojiSuggestionsModalProps>;
export {};
//# sourceMappingURL=emoji-suggestions-modal.d.ts.map