import type { Express } from 'express';
import { type RoutineService } from './routines.js';
import type { RouteDeps } from './server-context.js';
export interface RegisterRoutineRoutesDeps extends RouteDeps<'db' | 'routines'> {
}
export type RoutineRoutesService = Pick<RoutineService, 'nextRunAt' | 'rescheduleOne' | 'runNow' | 'unschedule'>;
export declare function routineDbRowToContract(row: any, latestRun: any): {
    id: any;
    name: any;
    prompt: any;
    schedule: any;
    target: {
        mode: string;
        projectId: any;
    } | {
        mode: string;
        projectId?: never;
    };
    skillId: any;
    agentId: any;
    enabled: boolean;
    nextRunAt: number | null;
    lastRun: {
        summary?: any;
        projectId: any;
        conversationId: any;
        agentRunId: any;
        completedAt?: any;
        runId: any;
        status: any;
        trigger: any;
        startedAt: any;
    } | null;
    createdAt: any;
    updatedAt: any;
};
export declare function registerRoutineRoutes(app: Express, ctx: RegisterRoutineRoutesDeps): void;
