import type { InvokerPermission, PermissionsGetHandler } from '@xyo-network/xl1-protocol/protocol-lib';
/** Data contract used by Invoker. */
export type Invoker = string;
/** Data contract used by Parent Capability. */
export type ParentCapability = string;
/**
 * Interface for a permissions store that abstracts away the storage medium.
 * (i.e. in-memory, browser storage, database, etc.)
 */
export interface PermissionsStore extends PermissionsGetHandler {
    /** invoker configuration or state exposed by this contract. */
    readonly invoker: Invoker;
    /** Updates permissions. */
    setPermissions(permissions: InvokerPermission[]): Promise<void>;
}
//# sourceMappingURL=PermissionsStore.d.ts.map