/** * Bedrock inference profile discovery. * * Provides: * - pickLatestForFamily: pure function — selects the latest APAC SYSTEM_DEFINED profile * - listInferenceProfiles: calls aws CLI to retrieve profiles from a given account */ import { InferenceProfile, ListInferenceProfilesResponse } from './types.js'; /** * Pure function: from a list of inference profiles, picks the latest one for a given family. * * Selection criteria: * - status must be ACTIVE * - type must be SYSTEM_DEFINED * - all model ARNs must have regions starting with regionPrefix * - profile ID must match the family pattern * - "latest" is determined by lexicographic sort of inferenceProfileId (descending) * * Returns null if no matching profile is found. */ export declare function pickLatestForFamily(profiles: InferenceProfile[], family: string, regionPrefix: string): string | null; /** * Calls aws bedrock list-inference-profiles and returns the parsed response. * * Throws: * - BedrockQueryError: AWS CLI not found, timeout, unexpected non-auth failure * - BedrockProfileError: auth-related failures (token expired, access denied, profile missing) */ export declare function listInferenceProfiles(profile: string, region: string, verbose?: boolean): ListInferenceProfilesResponse; //# sourceMappingURL=inference-profiles.d.ts.map