import React from 'react'; import type { Application, DeckRuntimeServices, IModalComponentProps, IRouterInjectedProps } from '@spinnaker/core'; import { DeckRuntimeContext, TaskMonitor } from '@spinnaker/core'; import type { IAmazonServerGroupCommand } from '../serverGroupConfiguration.service'; export interface IAmazonCloneServerGroupModalProps extends IModalComponentProps { title: string; application: Application; command: IAmazonServerGroupCommand; } export interface IAmazonCloneServerGroupModalState { firewallsLabel: string; loaded: boolean; requiresTemplateSelection: boolean; taskMonitor: TaskMonitor; } export declare class AmazonCloneServerGroupModalComponent extends React.Component { static contextType: React.Context; context: React.ContextType; static defaultProps: Partial; private _isUnmounted; private refreshUnsubscribe?; static show(props: IAmazonCloneServerGroupModalProps, runtimeServices: DeckRuntimeServices): Promise; constructor(props: IAmazonCloneServerGroupModalProps & IRouterInjectedProps); componentDidMount(): void; private get configurationService(); private templateSelected; private onTaskComplete; protected onApplicationRefresh: () => void; private initializeCommand; private configureCommand; private normalizeCommand; componentWillUnmount(): void; private clearRefreshSubscription; private submit; render(): React.JSX.Element; } export declare const AmazonCloneServerGroupModal: React.ForwardRefExoticComponent & { children?: React.ReactNode; } & React.RefAttributes> & { show: typeof AmazonCloneServerGroupModalComponent.show; };