export interface ILinqContext {
    [key: string]: any;
}
export declare class LinqQueryContext {
    private context;
    constructor(context?: ILinqContext);
    setVariable(name: string, value: any): void;
    getVariable(name: string): any;
    parseLambdaWithContext(lambdaFn: Function): any;
    private parseWithVariableSubstitution;
    static fromScope(variables: Record<string, any>): LinqQueryContext;
}
export declare function withContext(variables: Record<string, any>): {
    where: <T>(predicate: (item: T) => boolean) => any;
};
