import { World, type ComponentType, type EntityId, type QueryConfig } from "../index.js"; export type ExtractComponentData = C extends ComponentType ? T : never; export type ComponentDataTuple[]> = { [K in keyof T]: T[K] extends ComponentType ? U : never; }; export declare class Query { private world; private config; private cachedTuples; private trackedComponentTypes; private storageCache; constructor(world: World, config: QueryConfig); markDirty(): void; tracksComponent(componentName: string): boolean; private buildTuples; private getOptimalEntitySet; [Symbol.iterator](): Iterator<[EntityId, ...TData]>; without(...components: readonly ComponentType[]): this; oneOf(...components: readonly ComponentType[]): this; isEmpty(): boolean; count(): number; first(): [EntityId, ...TData] | null; } //# sourceMappingURL=Query.d.ts.map