import React from 'react';
import { FormFieldProps } from '@parlor/ui/form';
type UserProps = {
    email: string;
    name: string;
    titlePlaceholder?: string;
    uid?: string;
};
export type SidebarHeaderProps = {
    /**
     * action buttons
     */
    actionButtons?: JSX.Element;
    /**
     * add something button
     */
    addButton?: JSX.Element;
    /**
     * back button text - 'Back' | 'Collapse'
     */
    backButtonText?: 'Back' | 'Collapse';
    children?: React.ReactNode | (() => React.ReactNode);
    /**
     * className wrapper className
     */
    className?: string;
    /**
     * closeSidebar is a function that closes the sidebar
     */
    closeSidebar: (event: {
        preventDefault: () => void;
    }) => void;
    /**
     * dropdownItems is an array consisting of the items to display in the dropDown
     */
    dropdownItems?: string[];
    dropdownJSX?: JSX.Element;
    /**
     * headerTitleSize size for header title text
     */
    headerTitleSize?: 'middle' | 'large';
    /**
     * icon
     */
    icon?: JSX.Element;
    /**
     * image
     */
    image?: string | JSX.Element | null;
    /**
     * autofocus title.
     */
    isAutoFocus?: boolean;
    /**
     * show back button
     */
    isBackButton?: boolean;
    /**
     * show close button
     */
    isCloseButton?: boolean;
    /**
     * isLoading is sidebar data loading, show loader in header
     */
    isLoading?: boolean;
    /**
     * show resolve button
     */
    isResolveButton?: boolean;
    /**
     * topic is resolved
     */
    isResolved?: boolean;
    /**
     * flag isTitleEditable=false prevent header edit
     */
    isTitleEditable?: boolean;
    /**
     * Boolean that tells if VIP or not
     */
    isVip?: boolean;
    /**
     * field name
     */
    name?: string;
    /**
     * no title
     */
    noTitle?: boolean;
    /**
     * onBackButtonClick is a function that executed when back button clicked
     */
    onBackButtonClick?: (event?: {
        preventDefault: () => void;
    }) => void;
    /**
     * onChange handles the form field(s) changing
     */
    onChange?: (value: string) => void;
    /**
     * onSelect function for dropDown
     */
    onDropdownSelect?(value: any): void;
    /**
     * Placeholder for the text Input
     */
    placeholder?: string;
    /**
     * handles the resolve button click
     */
    resolve?: (event: any) => void | React.Dispatch<React.SetStateAction<string>>;
    /**
     * input validation rules
     */
    rules?: FormFieldProps['rules'];
    /**
     * title
     */
    title?: string;
    /**
     * titlePlaceholder placeholder for title
     */
    titlePlaceholder?: string;
    /**
     * topicID
     */
    topicID?: string;
    /**
     * a text to be rendered in the component.
     */
    type: '' | 'topic' | 'theme' | 'account' | 'user' | 'need' | 'artifact' | 'meeting' | 'call' | 'funnel' | 'funnel-step' | 'threshold' | 'localShaply' | 'globalShaply';
    /**
     * use field wrapper default Styles
     */
    useDefaultStyles?: boolean;
    /**
     * user props
     */
    userProps?: UserProps | Partial<UserProps>;
};
export declare function SidebarHeader({ addButton, actionButtons, closeSidebar, onBackButtonClick, dropdownItems, onChange, onDropdownSelect, placeholder, resolve, type, useDefaultStyles, isAutoFocus, isResolveButton, isResolved, isCloseButton, isVip, userProps, rules, image, icon, noTitle, title, topicID, isBackButton, backButtonText, className, name, isTitleEditable, headerTitleSize, isLoading, dropdownJSX, children, }: SidebarHeaderProps): JSX.Element;
export type LightSidebarHeaderProps = {
    backButtonText?: 'Back' | 'Collapse';
    className?: string;
    closeSidebar: (event: {
        preventDefault: () => void;
    }) => void;
    header: JSX.Element;
    isBackButton: boolean;
};
export declare function LightSidebarHeader({ isBackButton, header, className, closeSidebar, backButtonText, }: LightSidebarHeaderProps): JSX.Element;
export declare function AdminSidebarHeader({ closeSidebar, onBackButtonClick, dropdownItems, onChange, onDropdownSelect, placeholder, type, isAutoFocus, isCloseButton, isVip, userProps, rules, image, noTitle, title, isBackButton, backButtonText, className, name, isTitleEditable, headerTitleSize, isLoading, children, inputClassName, }: SidebarHeaderProps & {
    inputClassName?: string;
}): JSX.Element;
export {};
