import { type FC, type ComponentType } from 'react';
import * as React from 'react';
import { type LegendPlacement } from '@grafana/schema';
/**
 * @beta
 */
export interface VizLayoutProps {
    width: number;
    height: number;
    legend?: React.ReactElement<VizLayoutLegendProps> | null;
    children: (width: number, height: number) => React.ReactNode;
}
/**
 * @beta
 */
export interface VizLayoutComponentType extends FC<VizLayoutProps> {
    Legend: ComponentType<VizLayoutLegendProps>;
}
/**
 * @beta
 *
 * https://developers.grafana.com/ui/latest/index.html?path=/docs/plugins-vizlayout--docs
 */
export declare const VizLayout: VizLayoutComponentType;
/**
 * @beta
 */
export interface VizLayoutLegendProps {
    placement: LegendPlacement;
    children: React.ReactNode;
    maxHeight?: string;
    maxWidth?: string;
    width?: number | string;
}
/**
 * @beta
 */
export declare const VizLayoutLegend: FC<VizLayoutLegendProps>;
