import { type ProjectionDefinition } from '@cratis/chronicle.contracts'; /** * Detects whether the installed contracts carry `ChildrenDefinition.Ordering` to the kernel. The generated codec drops * fields it does not know, so an ordering the contracts cannot encode would be lost on the wire. * @returns True when the contracts encode children ordering. */ export declare function contractsSupportChildrenOrdering(): boolean; /** * Throws when a projection orders any of its children collections, at any depth, and the contracts cannot carry it. * @param definition - The compiled projection definition. * @param supported - Whether the contracts support children ordering. Defaults to detecting it. */ export declare function ensureChildrenOrderingIsSupported(definition: ProjectionDefinition, supported?: boolean): void; //# sourceMappingURL=childrenOrderingSupport.d.ts.map