/** * Sets or removes an attribute on the **host element** based on a boolean condition, * using the platform-aware `RendererServiceLocator`. * * This is typically used inside component templates to reflect slot-content * presence (e.g. `has-header`, `has-footer`, `has-actions`) onto the host * so that theme styles can react via `:host([has-header])` selectors. * * The function returns the condition value, which allows it to be used inline * inside boolean attribute bindings (e.g. `?hidden`): * * ```html *
* *
* ``` * * @param host The host element to set/remove the attribute on. * @param attribute The attribute name to set or remove (e.g. `'has-header'`). * @param hasAttribute Whether the attribute should be present (`true`) or absent (`false`). * @returns The `hasAttribute` value, for use in further expressions. * * @public */ export declare function setHost(host: HTMLElement, attribute: string, hasAttribute: boolean): boolean; //# sourceMappingURL=setHost.d.ts.map