import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message common.v1.PaginatedQuery */ export declare class PaginatedQuery extends Message { /** * to be removed * * @generated from field: string query = 1 [deprecated = true]; * @deprecated */ query: string; /** * @generated from field: int32 limit = 2; */ limit: number; /** * @generated from field: int32 page = 3; */ page: number; /** * @generated from field: string sort_by = 4; */ sortBy: string; /** * @generated from field: string sort_by_direction = 5; */ sortByDirection: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "common.v1.PaginatedQuery"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PaginatedQuery; static fromJson(jsonValue: JsonValue, options?: Partial): PaginatedQuery; static fromJsonString(jsonString: string, options?: Partial): PaginatedQuery; static equals(a: PaginatedQuery | PlainMessage | undefined, b: PaginatedQuery | PlainMessage | undefined): boolean; } /** * @generated from message common.v1.PaginatedResponse */ export declare class PaginatedResponse extends Message { /** * @generated from field: int32 page = 1; */ page: number; /** * @generated from field: int32 limit = 2; */ limit: number; /** * @generated from field: int32 count = 3; */ count: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "common.v1.PaginatedResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PaginatedResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PaginatedResponse; static fromJsonString(jsonString: string, options?: Partial): PaginatedResponse; static equals(a: PaginatedResponse | PlainMessage | undefined, b: PaginatedResponse | PlainMessage | undefined): boolean; }