openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
14 lines (13 loc) • 472 B
TypeScript
type PendingState<TPending> = {
pendingById: Record<string, TPending>;
};
export declare function rejectPendingPairingRequest<TPending, TState extends PendingState<TPending>, TIdKey extends string>(params: {
requestId: string;
idKey: TIdKey;
loadState: () => Promise<TState>;
persistState: (state: TState) => Promise<void>;
getId: (pending: TPending) => string;
}): Promise<({
requestId: string;
} & Record<TIdKey, string>) | null>;
export {};