/** * Representation of component props */ export declare class ComponentProps { #private; constructor(values: Record); /** * Create a typed instance of Component props with properties */ static create>(values: T): ComponentProps & T; /** * Reference to props raw values */ all(): Record; /** * Check if a key exists */ has(key: string): boolean; /** * Get key value */ get(key: string, defaultValue?: any): any; /** * Returns a new props bag with only the mentioned keys */ only(keys: string[]): ComponentProps; /** * Returns a new props bag with except the mentioned keys */ except(keys: string[]): ComponentProps; /** * Merge defaults with the props */ merge(values: Record): ComponentProps; /** * Merge defaults with the props, if the given condition is truthy */ mergeIf(conditional: any, values: Record): ComponentProps; /** * Merge defaults with the props, if the given condition is falsy */ mergeUnless(conditional: any, values: Record): ComponentProps; }