import type { Context, SimpleStreamOptions } from '@earendil-works/pi-ai/compat'; import type { AiUsageContext } from '../usage/types.js'; /** Background calls use only the configured model chain, under the caller's original deadline. */ export declare function completeTaskModelCall(models: { primary: string; fallbacks?: string[]; }, context: Context, options: SimpleStreamOptions, usage: AiUsageContext): Promise;