import { type SerialNumber } from '../index.js'; import { type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {PagedList} */ export declare function createPagedListFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param PagedList The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoPagedList(pagedList?: Partial | undefined): Record void>; /** * Represents a paginated list of items */ export interface PagedList extends Parsable { /** * Gets a value indicating whether there is a next page available. */ hasNextPage?: boolean | null; /** * Gets a value indicating whether there is a previous page available in the paginated list. */ hasPreviousPage?: boolean | null; /** * Gets or sets the collection of items contained in the paged list. */ items?: SerialNumber[] | null; /** * Gets the number of the next page if there is one; otherwise, returns the total number of pages. */ nextPageNumber?: number | null; /** * Gets or sets the current page number in the paginated list. */ pageNumber?: number | null; /** * Gets or sets the number of items per page in the paginated list. */ pageSize?: number | null; /** * Gets the number of the previous page. If there is no previous page, it returns 1. */ previousPageNumber?: number | null; /** * Gets or sets the total number of items available in the data source. */ totalItems?: number | null; /** * Gets the total number of pages based on the total number of items and the page size. */ totalPages?: number | null; } /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param PagedList The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializePagedList(writer: SerializationWriter, pagedList?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; //# sourceMappingURL=index.d.ts.map