import * as Brand from "effect/Brand"; /** * Ordered names for the visible components of a stream's ordering key. Names * may repeat, and the sequence may be empty. They are aliases, not document * field paths; implicit ID positions have no visible label. * * @experimental */ export type QueryStreamKeyLabels = ReadonlyArray> = Readonly & Brand.Brand<"@confect/server/QueryStreamKeyLabels">; /** * @experimental */ export type Concat = LeftKeyLabels extends QueryStreamKeyLabels ? RightKeyLabels extends QueryStreamKeyLabels ? QueryStreamKeyLabels : never : never; /** * Mark a tuple of names as labels without changing its runtime representation. * * @experimental */ export declare function make>(names: Names): QueryStreamKeyLabels; /** * Check whether the labels start with the given prefix, including order and * multiplicity. The empty prefix always matches. * * @experimental */ export declare const hasPrefix: (self: QueryStreamKeyLabels, prefixKeyLabels: QueryStreamKeyLabels) => boolean; //# sourceMappingURL=QueryStreamKeyLabels.d.ts.map