import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js"; import "../../../utils/index.js"; import { _default } from "./affix.vue.js"; import { CSSProperties, ExtractPublicPropTypes } from "vue"; import * as csstype from "csstype"; //#region ../../packages/components/affix/src/affix.d.ts 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. */ declare const affixProps: { readonly zIndex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => csstype.Property.ZIndex | undefined) | ((new (...args: any[]) => string | number) | (() => csstype.Property.ZIndex | undefined))[], unknown, unknown, 100, boolean>; readonly target: EpPropFinalized; readonly offset: EpPropFinalized; readonly position: EpPropFinalized; readonly teleported: BooleanConstructor; readonly appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => 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. */ type AffixPropsPublic = ExtractPublicPropTypes; declare const affixEmits: { scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean; }) => boolean; change: (fixed: boolean) => boolean; }; type AffixEmits = typeof affixEmits; type AffixInstance = InstanceType & unknown; //#endregion export { AffixEmits, AffixInstance, AffixProps, AffixPropsPublic, affixEmits, affixProps };