import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Standard pagination request fields. Embed in any paginated List request. * page_size: max items per page; each endpoint defines its own default and cap. * page_token: opaque cursor from a previous response; omit for the first page. * * @generated from message data.v2.PageRequest */ export declare class PageRequest extends Message { /** * @generated from field: optional uint32 page_size = 1; */ pageSize?: number; /** * @generated from field: optional string page_token = 2; */ pageToken?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "data.v2.PageRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PageRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PageRequest; static fromJsonString(jsonString: string, options?: Partial): PageRequest; static equals(a: PageRequest | PlainMessage | undefined, b: PageRequest | PlainMessage | undefined): boolean; } /** * Standard pagination response fields. Embed in any paginated List response. * next_page_token absent means this is the last page. * * @generated from message data.v2.PageResponse */ export declare class PageResponse extends Message { /** * @generated from field: optional string next_page_token = 1; */ nextPageToken?: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "data.v2.PageResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PageResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PageResponse; static fromJsonString(jsonString: string, options?: Partial): PageResponse; static equals(a: PageResponse | PlainMessage | undefined, b: PageResponse | PlainMessage | undefined): boolean; }