import { Container } from './container';
import { Size } from '../../primitives/size';
/**
 * @hidden
 * Canvas module is used to define a plane(canvas) and to arrange the children based on margin
 */
export declare class Canvas extends Container {
    /**
     * Not applicable for canvas
     *
     *  @private
     */
    measureChildren: boolean;
    /**
     * Measures the minimum space that the canvas requires
     *
     * @param {Size} availableSize - availableSize
     * @private
     * @returns {Size} - Size
     */
    measure(availableSize: Size): Size;
    /**
     * Arranges the child elements of the canvas
     *
     * @param {Size} desiredSize - desiredSize
     * @private
     * @returns {Size} - Size
     */
    arrange(desiredSize: Size): Size;
    /**
     * Aligns the child element based on its parent
     *
     * @param {DrawingElement} child - child
     * @param {Size} childSize - childSize
     * @param {Size} parentSize - parentSize
     * @param {number} x - x
     * @param {number} y - y
     * @private
     * @returns {PointModel} - PointModel
     */
    private alignChildBasedOnParent;
    /**
     * Aligns the child elements based on a point
     *
     * @param {DrawingElement} child - child
     * @param {number} x - x
     * @param {number} y - y
     * @private
     * @returns {PointModel} - PointModel
     */
    private alignChildBasedOnaPoint;
}
