/** * @slot - Add `mds-table-header-cell` element/s, one per column: the header is itself the row of * the column headings. * @part actions - The heading of the Actions column, shown while rows have `slot="action"` content * @parent mds-table */ export declare class MdsTableHeader { host: HTMLMdsTableHeaderElement; private table; private checkboxEl?; selectAll: boolean; hasActions: boolean; indeterminate: boolean; hasSelection?: boolean; private t; /** * Enables the select-all checkbox in the header. */ readonly selectable?: boolean; /** * Updates the header's select-all state from the number of selected rows. * @param selectedItems the number of currently selected rows * @param totalItems the total number of selectable rows */ setSelection(selectedItems: number, totalItems: number): Promise; /** * `internal` Shows or hides the Actions column: mds-table calls it whenever its rows gain or * lose `slot="action"` content, the header itself reads them only on load * @param hasActions whether any row has actions */ setActions(hasActions: boolean): Promise; componentWillLoad(): void; private handleSelectAllChange; render(): any; }