import { StateChunks, PblNgridStateChunkContext } from '../models/index'; export declare class PblNgridStateChunkHandlerHost { private chunkId; private keys; private rKeys; private sFn; private dFn; constructor(chunkId: T); handleKeys(...keys: Array): this; /** * Required keys are keys that cannot get excluded. * Either by adding the to the `exclude` option or by omitting them from the `include` option. */ requiredKeys(...keys: Array): this; serialize(fn: (key: Z, ctx: PblNgridStateChunkContext) => StateChunks[T]['state'][Z]): this; deserialize(fn: (key: Z, stateValue: StateChunks[T]['state'][Z], ctx: PblNgridStateChunkContext) => void): this; register(): void; } export interface PblNgridStateChunkHandlerDefinition { chunkId: T; keys: Array; rKeys: Array; serialize: Parameters['serialize']>[0]; deserialize: Parameters['deserialize']>[0]; } export declare function createStateChunkHandler(section: T): PblNgridStateChunkHandlerHost;