import React from 'react'; import type { Application, IJob, IModalComponentProps } from '@spinnaker/core'; import { TaskMonitor } from '@spinnaker/core'; import type { IAmazonServerGroupView } from '../../../domain'; export interface IScheduledActionValues { recurrence?: string | number; minSize?: number; maxSize?: number; desiredCapacity?: number; } export interface IEditScheduledActionsModalProps extends IModalComponentProps { application: Application; serverGroup: IAmazonServerGroupView; } interface IEditScheduledActionsModalState { scheduledActions: IScheduledActionValues[]; taskMonitor: TaskMonitor; } export declare function isScheduledActionValid(action: IScheduledActionValues): boolean; export declare function buildScheduledActionsJob(serverGroup: IAmazonServerGroupView, scheduledActions: IScheduledActionValues[]): IJob; export declare class EditScheduledActionsModal extends React.Component { static show(props: IEditScheduledActionsModalProps): Promise; state: IEditScheduledActionsModalState; private addScheduledAction; private removeScheduledAction; private updateScheduledAction; private submit; private renderNumberInput; render(): React.JSX.Element; } export {};