import React from "react"; import { TagProps } from "../../../__internal__/utils/helpers/tags"; export interface SortProps extends TagProps { /** if `asc` it will show `sort_up` icon, if `desc` it will show `sort_down` */ sortType?: "ascending" | "descending"; /** Callback fired when the component is clicked */ onClick?: () => void; /** Sets the text content of the component */ children?: string; /** * Sets the accessible name of the component * @deprecated this prop has been deprecated in favour of using `aria-live` regions * */ accessibleName?: string; /** Sets the aria-roledescription of the component */ "aria-roledescription"?: string; } export declare const Sort: ({ children, onClick, sortType, accessibleName, "data-element": dataElement, "data-role": dataRole, "aria-roledescription": ariaRoleDescription, }: SortProps) => React.JSX.Element; export default Sort;