import { BaseCopy, type BaseCopyAttributes } from "../base/copy/index.js";
export type ShareAttributes = BaseCopyAttributes;
/**
 * Uses the [Navigator API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share) to share a url. If `share` is not supported, falls back to copy the text instead.
 */
export declare class Share extends BaseCopy {
    constructor();
    /**
     * Shares or copies the `value`.
     * @param url The `url` to share, defaults to `this.value`
     * @returns An object containing a `result` - whether the `url` was copied or shared
     * depending on browser support.
     */
    share(url?: string): Promise<void>;
    mount(): void;
}
