UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

8 lines (7 loc) • 588 B
/** * `face`'s members `members`, read as one group. `undefined` when none is present and the group was not declared; * the bound members when every one is a function; otherwise a refusal (`config.invalid_argument`) naming the group's * owner and what is wrong. `declared` = the group's own container is present (a nested group object), so even zero * members present is half a group. */ export declare function readMemberGroup<K extends string>(owner: string, face: object, members: readonly K[], declared?: boolean): Readonly<Record<K, (...args: never[]) => unknown>> | undefined;