@mastra/core
Version:
8 lines • 567 B
TypeScript
import type { MastraFGAPermissionInput } from '../../auth/ee/index.js';
import type { CheckThreadFGAOptions } from '../../memory/thread-fga.js';
import type { RunRegistryEntry } from './types.js';
export declare function getDurableMemoryAuthorizationChecks(entry?: RunRegistryEntry): Map<MastraFGAPermissionInput, Promise<void>>;
export declare function authorizeDurableMemory(checks: Map<MastraFGAPermissionInput, Promise<void>>, options: CheckThreadFGAOptions & {
permission: MastraFGAPermissionInput;
}): Promise<void>;
//# sourceMappingURL=memory-fga.d.ts.map