import { z } from 'zod/v4';
/**
 * Create a schema to validate a paginated result.
 *
 * @param itemSchema - The Zod schema for the items in the result.
 * @returns The Zod schema for the paginated result.
 */
export declare const createPaginatedResultSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
    items: z.ZodArray<T>;
    nextPageToken: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const PaginatedResultSchema: z.ZodObject<{
    items: z.ZodArray<z.ZodUnknown>;
    nextPageToken: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
/**
 * Result of a paginated query.
 */
export interface PaginatedResult<T> {
    /** Items matching the query. */
    items: T[];
    /** Token for fetching the next page (if available). */
    nextPageToken?: string;
}
//# sourceMappingURL=PaginatedResult.d.ts.map