/**
 * ScrollArea - Styled scrollable container component
 * @countermeasure/web-components/primitives/scroll-area
 */
export type ScrollOrientation = 'vertical' | 'horizontal' | 'both';
export interface ScrollAreaConfig {
    container?: HTMLElement | string;
    maxHeight?: string;
    orientation?: ScrollOrientation;
    className?: string;
}
export declare class ScrollArea {
    readonly el: HTMLDivElement;
    private readonly viewportEl;
    constructor(config: ScrollAreaConfig);
    /** Returns the viewport element for appending content */
    getViewport(): HTMLDivElement;
    /** Scroll to a specific position */
    scrollTo(top: number, left?: number): void;
    /** Scroll to the top of the viewport */
    scrollToTop(): void;
    /** Scroll to the bottom of the viewport */
    scrollToBottom(): void;
    /** Remove from the DOM */
    destroy(): void;
}
//# sourceMappingURL=index.d.ts.map