import * as React from 'react'; import type { ButtonProps } from '@planview/pv-uikit'; import type { DisplayOnType } from '../utils/'; export type ToolbarButtonProps = Omit & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; }; export declare const ToolbarButtonDestructive: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonPrimary: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonEmpty: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonGhost: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonEmptyInverse: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonAnviPrimary: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonAnviEmpty: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonAnviEmptyInverse: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; export declare const ToolbarButtonAnviGhost: React.ForwardRefExoticComponent & { /** * Target display of the button. Choose 'phone' to prevent collapsing. */ displayOn?: DisplayOnType; /** * Opt-in to override built-in behavior to remove the visible label of buttons in mobile breakpoint. * Set this to true to always show the visible label of button */ preventLabelCollapse?: boolean; /** * Limit the children more strictly since a string is required when converting to a list item and for adding an aria-label */ children?: string | number; /** Callback for when a user clicks on the button or activates it in the mobile menu. When activated from the collapsed menu, no event will be passed. */ onClick?: (e?: React.MouseEvent) => void; } & React.RefAttributes>; //# sourceMappingURL=button.d.ts.map