import { AutoResizeOptions } from '../options/auto-resize-options'; /** * Automatically adjusts the iframe container height to match the extension's content. * Uses a ResizeObserver on document.body to detect content size changes and reports * the height to the Struct PIM host application. * * Only supported for extension point types: Tab, Section, Property, and SidebarWidget. * For other types, the host will reject the underlying resize actions. * * Only one auto-resize observer can be active at a time. Calling this again * will disconnect the previous observer before creating a new one. * * @example * ```ts * // With defaults (no max height, 100ms debounce) * struct.actions.enableAutoResize(); * * // With options * struct.actions.enableAutoResize({ maxHeight: 800, debounceMs: 200 }); * ``` */ export declare function enableAutoResize(options?: AutoResizeOptions): () => void; //# sourceMappingURL=enable-auto-resize.d.ts.map