import type { MsgContext } from "../auto-reply/templating.js";
import type { DaoCoreConfig } from "../config/types.js";
import type { MediaUnderstandingConfig, MediaUnderstandingModelConfig, MediaUnderstandingScopeConfig } from "../config/types.tools.js";
import type { MediaUnderstandingCapability } from "./types.js";
export declare function resolveTimeoutMs(seconds: number | undefined, fallbackSeconds: number): number;
export declare function resolvePrompt(capability: MediaUnderstandingCapability, prompt?: string, maxChars?: number): string;
export declare function resolveMaxChars(params: {
    capability: MediaUnderstandingCapability;
    entry: MediaUnderstandingModelConfig;
    cfg: DaoCoreConfig;
    config?: MediaUnderstandingConfig;
}): number | undefined;
export declare function resolveMaxBytes(params: {
    capability: MediaUnderstandingCapability;
    entry: MediaUnderstandingModelConfig;
    cfg: DaoCoreConfig;
    config?: MediaUnderstandingConfig;
}): number;
export declare function resolveScopeDecision(params: {
    scope?: MediaUnderstandingScopeConfig;
    ctx: MsgContext;
}): "allow" | "deny";
export declare function resolveModelEntries(params: {
    cfg: DaoCoreConfig;
    capability: MediaUnderstandingCapability;
    config?: MediaUnderstandingConfig;
    providerRegistry: Map<string, {
        capabilities?: MediaUnderstandingCapability[];
    }>;
}): MediaUnderstandingModelConfig[];
export declare function resolveConcurrency(cfg: DaoCoreConfig): number;
export declare function resolveEntriesWithActiveFallback(params: {
    cfg: DaoCoreConfig;
    capability: MediaUnderstandingCapability;
    config?: MediaUnderstandingConfig;
    providerRegistry: Map<string, {
        capabilities?: MediaUnderstandingCapability[];
    }>;
    activeModel?: {
        provider: string;
        model?: string;
    };
}): MediaUnderstandingModelConfig[];
