UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines (19 loc) 850 B
export declare function isTruthy(value: unknown): boolean; export declare function resolveConfigPath(config: unknown, pathStr: string): unknown; export declare function isConfigPathTruthyWithDefaults(config: unknown, pathStr: string, defaults: Record<string, boolean>): boolean; export type RuntimeRequires = { bins?: string[]; anyBins?: string[]; env?: string[]; config?: string[]; }; export declare function evaluateRuntimeRequires(params: { requires?: RuntimeRequires; hasBin: (bin: string) => boolean; hasAnyRemoteBin?: (bins: string[]) => boolean; hasRemoteBin?: (bin: string) => boolean; hasEnv: (envName: string) => boolean; isConfigPathTruthy: (pathStr: string) => boolean; }): boolean; export declare function resolveRuntimePlatform(): string; export declare function hasBinary(bin: string): boolean;