import type { ChatSystemMessage } from "../../chat/types.js"; import type { AgentSystem } from "../types.js"; import { type ProjectScopedRemoteToolOptions } from "../../tool/index.js"; import type { DefaultHostedChatRuntimeSystemRefreshInput } from "./default-chat-runtime.js"; import type { HostedChatRuntimePreparationSteering } from "./chat-preparation.js"; import type { RuntimeAgentMarkdownDefinition } from "../runtime/agent-definition.js"; import { type RuntimeSkillDefinition } from "../runtime/skill-metadata.js"; import type { HostedChatRuntimeInstructionsInput } from "./chat-preparation.js"; /** Public API contract for default hosted project steering refresh logger. */ export type DefaultHostedProjectSteeringRefreshLogger = { error(message: string, metadata?: Record): void; }; /** Public API contract for default hosted project steering refresh lookup. */ export type DefaultHostedProjectSteeringRefreshLookup = { projectId: string; authToken: string; branchId?: string | null; }; /** Public API contract for default hosted project steering fetchers. */ export type DefaultHostedProjectSteeringFetchers = { fetchProjectInstructions: (lookup: DefaultHostedProjectSteeringRefreshLookup) => Promise; fetchSkills: (lookup: DefaultHostedProjectSteeringRefreshLookup) => Promise; }; /** Options accepted by create default hosted project steering refresh. */ export type CreateDefaultHostedProjectSteeringRefreshOptions = DefaultHostedProjectSteeringFetchers & { buildInstructions: (input: HostedChatRuntimeInstructionsInput) => string | ChatSystemMessage[]; projectScopedRemoteToolOptions?: ProjectScopedRemoteToolOptions; logger?: DefaultHostedProjectSteeringRefreshLogger; }; /** Input payload for fetch default hosted project steering. */ export type FetchDefaultHostedProjectSteeringInput = DefaultHostedProjectSteeringFetchers & { projectId: string | null; authToken: string; branchId?: string | null; trace?: (operationName: string, operation: () => Promise) => Promise; traceOperationName?: string; }; /** Fetch default hosted project steering helper. */ export declare function fetchDefaultHostedProjectSteering(input: FetchDefaultHostedProjectSteeringInput): Promise; /** Create default hosted project steering refresh. */ export declare function createDefaultHostedProjectSteeringRefresh(options: CreateDefaultHostedProjectSteeringRefreshOptions): (input: DefaultHostedChatRuntimeSystemRefreshInput) => Promise; //# sourceMappingURL=default-project-steering-refresh.d.ts.map