mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
11 lines
572 B
Plaintext
11 lines
572 B
Plaintext
import { LooseOptionsType, CreateOptionsType } from './Options.js';
|
|
import { WindowType } from './utils.js';
|
|
type OptionsType = Partial<CreateOptionsType<LooseOptionsType>>;
|
|
export type OptionsHandlerType = {
|
|
mergeOptions: <TypeA extends OptionsType, TypeB extends OptionsType>(optionsA: TypeA, optionsB?: TypeB) => TypeA;
|
|
optionsAtMedia: <Type extends OptionsType>(options: Type) => Type;
|
|
optionsMediaQueries: (optionsList: OptionsType[]) => MediaQueryList[];
|
|
};
|
|
export declare function OptionsHandler(ownerWindow: WindowType): OptionsHandlerType;
|
|
export {};
|