import React from 'react';
import type { IPageButtonProps } from './PageButton';
import type { Application } from '../application';
import type { IPagerDutyService } from './pagerDuty.read.service';
import { TaskMonitor } from '../task';
export interface IPageModalProps {
    applications?: Application[];
    services: IPagerDutyService[];
    show?: boolean;
    closeCallback: (completed: boolean) => void;
}
export interface IPageModalState {
    accountName: string;
    details: string;
    pageCount: number;
    subject: string;
    submitting: boolean;
    taskMonitor: TaskMonitor;
}
export declare class PageModal extends React.Component<IPageModalProps, IPageModalState> {
    constructor(props: IPageModalProps);
    componentWillReceiveProps(nextProps: IPageButtonProps): void;
    private getDefaultState;
    close: (evt?: React.MouseEvent<any>) => void;
    private handleSubjectChanged;
    private handleDetailsChanged;
    sendPage: () => void;
    render(): JSX.Element;
}
