import { Construct } from "@aws-cdk/cdk";
import { IWidget } from "./widget";
export interface DashboardProps {
    /**
     * Name of the dashboard
     *
     * @default Automatically generated name
     */
    dashboardName?: string;
}
/**
 * A CloudWatch dashboard
 */
export declare class Dashboard extends Construct {
    private readonly rows;
    private readonly dashboard;
    constructor(parent: Construct, name: string, props?: DashboardProps);
    /**
     * Add a widget to the dashboard.
     *
     * Widgets given in multiple calls to add() will be laid out stacked on
     * top of each other.
     *
     * Multiple widgets added in the same call to add() will be laid out next
     * to each other.
     */
    add(...widgets: IWidget[]): void;
    /**
     * Generate a unique dashboard name in case the user didn't supply one
     */
    private generateDashboardName;
}
