/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { OdsPaginationChangedEventDetail } from "@ovhcloud/ods-core"; export namespace Components { interface OsdsPagination { /** * Its corresponding current page. * @see OdsPaginationAttributes.current */ "current": number; /** * indicates if the pagination is entirely disabled. it means no interactions (hover, click, focus, etc) * @see OdsPaginationAttributes.disabled */ "disabled": boolean; /** * The label of the tooltip on the arrow next * @see OdsPaginationAttributes.labelTooltipNext */ "labelTooltipNext": string; /** * The label of the tooltip on the arrow previous * @see OdsPaginationAttributes.labelTooltipPrevious */ "labelTooltipPrevious": string; /** * set page index on the component * @see OdsPaginationMethods.setPageIndex */ "setPageIndex": (current: number) => Promise; /** * The total number of items. * @see OdsPaginationAttributes.totalItems */ "totalItems"?: number; /** * The total amount of pages. * @see OdsPaginationAttributes.totalPages */ "totalPages": number; } } export interface OsdsPaginationCustomEvent extends CustomEvent { detail: T; target: HTMLOsdsPaginationElement; } declare global { interface HTMLOsdsPaginationElement extends Components.OsdsPagination, HTMLStencilElement { } var HTMLOsdsPaginationElement: { prototype: HTMLOsdsPaginationElement; new (): HTMLOsdsPaginationElement; }; interface HTMLElementTagNameMap { "osds-pagination": HTMLOsdsPaginationElement; } } declare namespace LocalJSX { interface OsdsPagination { /** * Its corresponding current page. * @see OdsPaginationAttributes.current */ "current"?: number; /** * indicates if the pagination is entirely disabled. it means no interactions (hover, click, focus, etc) * @see OdsPaginationAttributes.disabled */ "disabled"?: boolean; /** * The label of the tooltip on the arrow next * @see OdsPaginationAttributes.labelTooltipNext */ "labelTooltipNext"?: string; /** * The label of the tooltip on the arrow previous * @see OdsPaginationAttributes.labelTooltipPrevious */ "labelTooltipPrevious"?: string; /** * Emitted when the value has changed * @see OdsPaginationEvents.odsPaginationChanged */ "onOdsPaginationChanged"?: (event: OsdsPaginationCustomEvent) => void; /** * The total number of items. * @see OdsPaginationAttributes.totalItems */ "totalItems"?: number; /** * The total amount of pages. * @see OdsPaginationAttributes.totalPages */ "totalPages"?: number; } interface IntrinsicElements { "osds-pagination": OsdsPagination; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "osds-pagination": LocalJSX.OsdsPagination & JSXBase.HTMLAttributes; } } }