/** * Builds a {@link ServerSideRequest} from the grid's current state and derives a * stable cache signature for it. Pure and side-effect free — it only *reads* * from the context's engines and store, so it is trivially unit-testable. * * @packageDocumentation */ import type { GridContext } from '../../core/grid-context'; import type { ServerSideRequest } from '../../types/server-side.types'; /** Composes a {@link ServerSideRequest} from live grid state. */ export declare class ServerRequestBuilder { private readonly ctx; constructor(ctx: GridContext); /** * Reads the active sort/filter/search/pagination/selection state and produces * an immutable request stamped with {@link requestId}. */ build(requestId: number): ServerSideRequest; } /** * A deterministic cache key for a request. Excludes {@link ServerSideRequest.requestId} * (and selection/expansion, which don't change the page's rows) so two logically * identical fetches share a cache entry. */ export declare function serverRequestSignature(request: ServerSideRequest): string; //# sourceMappingURL=server-request-builder.d.ts.map