import { type QueryAST } from '@dxos/echo-protocol'; /** * Scope targeting a space's automerge documents. * * With no `spaceId`, targets the owning space — i.e. the space of whichever database * executes the query — so callers can reference "this space" without looking up its id. * * @example * ```ts * db.query(Filter.type(Person).from(Scope.space())); // owning space * db.query(Filter.type(Person).from(Scope.space({ id: otherSpaceId }))); // a specific space * ``` */ export declare const space: (options?: { id?: string; includeAllFeeds?: boolean; }) => QueryAST.SpaceScope; /** * Scope targeting a code-shipped object/type registry. * * - `'local'` — the in-process registry attached to the hypergraph (default). * - `'remote'` — a remote registry service (not yet implemented). * * @example * ```ts * // Discover all types — persisted in the space and code-shipped in the registry. * db.query(Filter.type(Type.Type).from(Scope.space(), Scope.registry())); * ``` */ export declare const registry: (location?: 'local' | 'remote') => QueryAST.RegistryScope; /** * Scope targeting a specific feed (by its underlying queue EID). */ export declare const feed: (feedUri: string) => QueryAST.FeedScope; //# sourceMappingURL=Scope.d.ts.map