export interface HtmxConfig {
/**
* Log all htmx events to the console.
* @default false
*/
logAll: boolean;
/**
* Secondary attribute prefix alongside `hx-`. Set to `""` to disable.
* Must be set via `` — changing after page load has no effect.
* @default "data-hx-"
*/
prefix: string;
/**
* Use the View Transitions API for swap animations.
* @default false
*/
transitions: boolean;
/**
* Controls browser history management.
* - `true` — push URLs and restore via AJAX on back/forward
* - `false` — disable history entirely
* - `"reload"` — push URLs but use `location.reload()` on back/forward
* @default true
*/
history: boolean | 'reload';
/**
* Fetch `mode` for all htmx requests. Per-element overrides are ignored.
* @default "same-origin"
*/
mode: 'same-origin' | 'cors' | 'no-cors';
/**
* Default swap style when `hx-swap` is not specified.
* @default "innerHTML"
*/
defaultSwap: string;
/**
* Scroll the focused element into view after each swap.
* @default false
*/
defaultFocusScroll: boolean;
/**
* Delay in ms between the swap and settle phases.
* @default 1
*/
defaultSettleDelay: number;
/**
* CSS class applied to `hx-indicator` targets during requests.
* @default "htmx-indicator"
*/
indicatorClass: string;
/**
* CSS class applied to the requesting element.
* @default "htmx-request"
*/
requestClass: string;
/**
* Include htmx's built-in CSS for the indicator class.
* @default true
*/
includeIndicatorCSS: boolean;
/**
* Default request timeout in ms.
* @default 60000
*/
defaultTimeout: number;
/**
* `nonce` for inline `