import Policy from "../../chip-types/policy.js"; import type { Context } from "../../main.js"; import { AllowAll } from "../../datastore/allow-all.js"; import DenyAll from "../../datastore/deny-all.js"; export default class LoggedIn extends Policy { static type_name: string; _getRestrictingQuery(context: Context): Promise; checkerFunction(context: Context): Promise<{ allowed: boolean; reason: string; }>; }