@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines (10 loc) • 439 B
TypeScript
export declare function mergeAllowFromSources(params: {
allowFrom?: Array<string | number>;
storeAllowFrom?: string[];
}): string[];
export declare function firstDefined<T>(...values: Array<T | undefined>): (T & ({} | null)) | undefined;
export declare function isSenderIdAllowed(allow: {
entries: string[];
hasWildcard: boolean;
hasEntries: boolean;
}, senderId: string | undefined, allowWhenEmpty: boolean): boolean;