import type { WorkOSAuthorizationResource, WorkOSOrganization } from './entities.js'; import type { WorkOSStore } from './store.js'; /** * The organization's implicit FGA root, created on first use. Mirrors production's * findOrCreateOrganizationResource: every path that needs the root resolves it this way, so an * organization that reached the store without passing through the routes or the seed still * gets one instead of leaving its resources parentless. */ export declare function findOrCreateOrganizationResource(ws: WorkOSStore, organization: WorkOSOrganization): WorkOSAuthorizationResource; /** Keep the implicit FGA root in sync with its owning organization. */ export declare function syncOrganizationResource(ws: WorkOSStore, organization: WorkOSOrganization): void;