import { KumoriServices } from "../../language/kumori.js"; import { Result } from "../../util/result.js"; import { AstNodeType } from "./type.js"; import { Cache2 } from "../../util/cache.js"; export interface AssignableError { from: AstNodeType; to: AstNodeType; cause: string; } export type AssignableContext = { cache: Cache2>; svcs: KumoriServices; }; export declare function Assignable(ctx: AssignableContext, from: AstNodeType, to: AstNodeType): Result; export declare function _assignable(ctx: AssignableContext, from: AstNodeType, to: AstNodeType): Result;