import { PropType } from 'vue';
export interface ItemBase {
hidden?: boolean;
[key: string]: any;
}
/**
* A flexible priority plus navigation component.
* For reference see: https://css-tricks.com/the-priority-navigation-pattern/
*
* @example
*
*
*
* {{ item.name }}
*
*
*
*
* More
*
*
*
*
*
*/
declare const _default: import('vue').DefineComponent;
required: true;
default(): never[];
};
/**
* The offset factor is used to multiply the width of the last visible item for the more button offset.
*/
offsetFactor: {
type: NumberConstructor;
default: number;
};
/**
* The property used to identify the items in the list.
*/
identifier: {
type: StringConstructor;
required: false;
default: string;
};
}>, {}, {
accumItemWidths: any[];
hiddenItemIdentifiers: string[];
}, {
/**
* The items which are currently displayed.
*/
mainItems(): ItemBase[];
/**
* The items which are currently hidden.
*/
moreItems(): ItemBase[];
hasHiddenItems(): boolean;
/**
* The HTML elements of the visible items.
*/
visibleElements(): {
[key: string]: Element;
};
/**
* The last visible HTML element.
*/
lastVisibleElement(): Element;
}, {
storeItemWidths(): void;
getContainerWidth(): number;
getLastVisibleItemIndex(): number;
handleResize(): Promise;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly;
required: true;
default(): never[];
};
/**
* The offset factor is used to multiply the width of the last visible item for the more button offset.
*/
offsetFactor: {
type: NumberConstructor;
default: number;
};
/**
* The property used to identify the items in the list.
*/
identifier: {
type: StringConstructor;
required: false;
default: string;
};
}>> & Readonly<{}>, {
list: ItemBase[];
offsetFactor: number;
identifier: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;