import React from 'react';
export interface Locale {
    back: string;
    edit: string;
}
interface CustomProps {
    locale: Locale;
    sendFile?: Function;
    defaultEmo?: Array<string>;
    emos?: Array<string>;
    onChange?: Function;
    onMouseOut?: Function;
    onMouseOver?: Function;
}
interface CustomState {
    edit: boolean;
}
declare class Custom extends React.PureComponent<CustomProps, CustomState> {
    constructor(props: CustomProps);
    file: React.ReactNode;
    handleEdit: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
    handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
    handleClick: (url: string) => void;
    handleMouseOut: (url: string) => void;
    handleMouseOver: (url: string, index: number) => void;
    saveRef: (ele: React.ReactNode) => void;
    renderDefaultEmo: () => JSX.Element[];
    renderDelete: (url: string) => JSX.Element | null;
    renderEmo: () => JSX.Element[];
    renderAdd: () => "" | JSX.Element;
    render(): JSX.Element;
}
export default Custom;
