import type { LocalAppResourceScope } from '@xopcai/gateway-contract'; /** Trusted runtime restriction; never accepted as a public query parameter. */ export interface ResourceRestriction { extensionId: string; scope: LocalAppResourceScope; } export declare function resourceScopePredicate(kind: 'note' | 'task', restriction: ResourceRestriction): { sql: string; params: string[]; };