import { GenericSpec, NormalizedSpec } from '.'; import { BaseSpec, BoundsMixins, GenericCompositionLayoutWithColumns, ResolveMixins } from './base'; /** * Base layout mixins for V/HConcatSpec, which should not have RowCol generic fo its property. */ export interface OneDirectionalConcatLayout extends BoundsMixins, ResolveMixins { /** * Boolean flag indicating if subviews should be centered relative to their respective rows or columns. * * __Default value:__ `false` */ center?: boolean; /** * The spacing in pixels between sub-views of the concat operator. * * __Default value__: `10` */ spacing?: number; } /** * Base interface for a generalized concatenation specification. */ export interface GenericConcatSpec> extends BaseSpec, GenericCompositionLayoutWithColumns, ResolveMixins { /** * A list of views to be concatenated. */ concat: S[]; } /** * Base interface for a vertical concatenation specification. */ export interface GenericVConcatSpec> extends BaseSpec, OneDirectionalConcatLayout { /** * A list of views to be concatenated and put into a column. */ vconcat: S[]; } /** * Base interface for a horizontal concatenation specification. */ export interface GenericHConcatSpec> extends BaseSpec, OneDirectionalConcatLayout { /** * A list of views to be concatenated and put into a row. */ hconcat: S[]; } /** A concat spec without any shortcut/expansion syntax */ export type NormalizedConcatSpec = GenericConcatSpec | GenericVConcatSpec | GenericHConcatSpec; export declare function isAnyConcatSpec(spec: BaseSpec): spec is GenericVConcatSpec | GenericHConcatSpec; export declare function isConcatSpec(spec: BaseSpec): spec is GenericConcatSpec; export declare function isVConcatSpec(spec: BaseSpec): spec is GenericVConcatSpec; export declare function isHConcatSpec(spec: BaseSpec): spec is GenericHConcatSpec; //# sourceMappingURL=concat.d.ts.map