import * as Parser from '../../../../libs/fspropertybinding'; import type { Result } from '../../../../libs/standard-result'; /** * This bad, I know this bad, we should fix this. Please fix this. * * This shouldn't depend on fsserializable. * This shouldn't use multiple fsserializable versions. * This is just a bad solution, but I don't have time to fix it right now. */ /** * Supply a DQL expression (a string) or a precompiled DQL Abstract Syntax Tree in order to * subscribe to a particular part of DQL context. * * @param dqlSyntaxTreeOrExpression * @return An Either construct (https://gcanti.github.io/fp-ts/modules/Either.ts.html) of the * current DQL context, or an error message (when _tag is `Right`, the parsing and resolving * was successful; when `_tag` is `Left`, something failed and the object contains an error message) */ export declare const useDQL: (dqlSyntaxTreeOrExpression: Parser.MixedAbstractSyntaxTree | string) => Result;