import { GridLayoutBase, ItemSpec as ItemSpecBase } from './grid-layout-common';
export * from './grid-layout-common';
interface ItemSpec extends ItemSpecBase {
    toJSON(): {
        value: number;
        type: number;
    };
}
export declare class GridLayout extends GridLayoutBase {
    nativeViewProtected: org.nativescript.widgets.GridLayout;
    createNativeView(): org.nativescript.widgets.GridLayout;
    initNativeView(): void;
    resetNativeView(): void;
    _onRowAdded(itemSpec: ItemSpec): void;
    addRows(itemSpecs: ItemSpec[]): void;
    addColumns(itemSpecs: ItemSpec[]): void;
    _onColumnAdded(itemSpec: ItemSpec): void;
    removeColumns(): void;
    removeRows(): void;
    _onRowRemoved(itemSpec: ItemSpec, index: number): void;
    _onColumnRemoved(itemSpec: ItemSpec, index: number): void;
    protected invalidate(): void;
}
