interface LayerLabelEditorProps {
    /**
     * The label to be edited
     */
    label?: string;
    /**
     * The index of the layer in the hierarchy
     */
    number: number;
    /**
     * Callback to be called when the label changes
     */
    onChange: (label: string) => void;
    /**
     * Whether we're in view-only mode
     */
    viewOnly?: boolean;
}
/**
 * Displays the label of the layer, allows user to change it if editable
 */
declare function LayerLabelEditor(props: LayerLabelEditorProps): JSX.Element;
export default LayerLabelEditor;
//# sourceMappingURL=layer-label-editor.d.ts.map