import { IStyleOptions } from './IStyleOptions'; import { IProcessedStyleSet, IStyleSet } from './IStyleSet'; import { ObjectOnly } from './ObjectOnly'; import { ShadowConfig } from './shadowConfig'; type Missing = false | null | undefined; type MissingOrShadowConfig = Missing | ShadowConfig; /** * Takes in one or more style set objects, each consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeStyles` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSet - The first style set to be merged and reigstered. */ export declare function mergeStyleSets(styleSet: TStyleSet | Missing): IProcessedStyleSet>; /** * Takes in one or more style set objects, each consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeStyles` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSet1 - The first style set to be merged. * @param styleSet2 - The second style set to be merged. */ export declare function mergeStyleSets(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing): IProcessedStyleSet & ObjectOnly>; /** * Takes in one or more style set objects, each consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeStyles` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSet1 - The first style set to be merged. * @param styleSet2 - The second style set to be merged. * @param styleSet3 - The third style set to be merged. */ export declare function mergeStyleSets(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing): IProcessedStyleSet & ObjectOnly & ObjectOnly>; /** * Takes in one or more style set objects, each consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeStyles` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSet1 - The first style set to be merged. * @param styleSet2 - The second style set to be merged. * @param styleSet3 - The third style set to be merged. * @param styleSet4 - The fourth style set to be merged. */ export declare function mergeStyleSets(styleSet1: TStyleSet1 | Missing, styleSet2: TStyleSet2 | Missing, styleSet3: TStyleSet3 | Missing, styleSet4: TStyleSet4 | Missing): IProcessedStyleSet & ObjectOnly & ObjectOnly & ObjectOnly>; /** * Takes in one or more style set objects, each consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeStyles` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. */ export declare function mergeStyleSets(...styleSets: Array): IProcessedStyleSet; export declare function mergeStyleSets(shadowConfig: ShadowConfig, ...styleSets: Array): IProcessedStyleSet; /** * Takes in one or more style set objects, each1consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeCss` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. * @param options - (optional) Options to use when creating rules. */ export declare function mergeCssSets(styleSets: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet>; /** * Takes in one or more style set objects, each1consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeCss` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. * @param options - (optional) Options to use when creating rules. */ export declare function mergeCssSets(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing], options?: IStyleOptions): IProcessedStyleSet & ObjectOnly>; /** * Takes in one or more style set objects, each1consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeCss` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. * @param options - (optional) Options to use when creating rules. */ export declare function mergeCssSets(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing], options?: IStyleOptions): IProcessedStyleSet & ObjectOnly & ObjectOnly>; /** * Takes in one or more style set objects, each1consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeCss` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. * @param options - (optional) Options to use when creating rules. */ export declare function mergeCssSets(styleSets: [TStyleSet1 | MissingOrShadowConfig, TStyleSet2 | Missing, TStyleSet3 | Missing, TStyleSet4 | Missing], options?: IStyleOptions): IProcessedStyleSet & ObjectOnly & ObjectOnly & ObjectOnly>; /** * Takes in one or more style set objects, each1consisting of a set of areas, * each which will produce a class name. Using this is analogous to calling * `mergeCss` for each property in the object, but ensures we maintain the * set ordering when multiple style sets are merged. * * @param styleSets - One or more style sets to be merged. * @param options - (optional) Options to use when creating rules. */ export declare function mergeCssSets(styleSet: [TStyleSet | Missing], options?: IStyleOptions): IProcessedStyleSet>; export {};