import type { CSSProperties, ExtractPublicPropTypes } from 'vue'; import type Affix from './affix.vue'; export interface AffixProps { /** * @description affix element zIndex value * */ zIndex?: CSSProperties['z-index']; /** * @description target container. (CSS selector) */ target?: string; /** * @description offset distance * */ offset?: number; /** * @description position of affix * */ position?: 'top' | 'bottom'; /** * @description whether affix element is teleported, if `true` it will be teleported to where `append-to` sets * */ teleported?: boolean; /** * @description which element the affix element appends to * */ appendTo?: string | HTMLElement; } /** * @deprecated Removed after 3.0.0, Use `AffixProps` instead. */ export declare const affixProps: { readonly zIndex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => import("csstype").Property.ZIndex | undefined) | ((new (...args: any[]) => string | number) | (() => import("csstype").Property.ZIndex | undefined))[], unknown, unknown, 100, boolean>; readonly target: import("element-plus/es/utils").EpPropFinalized; readonly offset: import("element-plus/es/utils").EpPropFinalized; readonly position: import("element-plus/es/utils").EpPropFinalized; readonly teleported: BooleanConstructor; readonly appendTo: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown, "body", boolean>; }; /** * @deprecated Removed after 3.0.0, Use `AffixProps` instead. */ export type AffixPropsPublic = ExtractPublicPropTypes; export declare const affixEmits: { scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean; }) => boolean; change: (fixed: boolean) => boolean; }; export type AffixEmits = typeof affixEmits; export type AffixInstance = InstanceType & unknown;