export function prepareRevocableMakerKit(zone: import("@agoric/base-zone").Zone, uKindName: string, uMethodNames: PropertyKey[], options?: RevocableKitOptions): RevocableMakerKit; export type MakeRevocable = (underlying: U) => Partial; export type MakeRevocableKit = (underlying: U) => RevocableKit; export type RevocableMakerKit = { revoke: (revocable: U) => boolean; /** * Forwards to the underlying exo object, until revoked */ makeRevocable: MakeRevocable; makeRevocableKit: MakeRevocableKit; }; export type RevokerFacet = { revoke: () => boolean; }; export type RevocableKit = { revoker: RevokerFacet; /** * Forwards to the underlying exo object, until revoked */ revocable: Partial; }; export type RevocableKitThis = { facets: RevocableKit; state: { underlying: U; }; }; export type RevocableKitOptions = { /** * The `interfaceName` of the underlying interface guard. * Defaults to the `uKindName`. */ uInterfaceName?: string | undefined; /** * For guarding the `extraMethods`, if you include them below. These appear * only on the synthesized interface guard for the revocable caretaker, and * do not necessarily correspond to any method of the underlying. */ extraMethodGuards?: Record | undefined; /** * Extra methods adding behavior only to the revocable caretaker, and * do not necessarily correspond to any methods of the underlying. */ extraMethods?: Record, ...args: any[]) => any> | undefined; }; //# sourceMappingURL=prepare-revocable.d.ts.map