import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { PropType } from 'vue';
import { PublicProps } from 'vue';

declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;

declare type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};

declare type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: PropType<T[K]>;
        required: true;
    };
};

declare type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};

declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ObfuscateTextProps>, {
maskChar: string;
maskCharCount: number;
lengthToKeep: number;
position: string;
obfuscateAll: boolean;
showToggle: boolean;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ObfuscateTextProps>, {
maskChar: string;
maskCharCount: number;
lengthToKeep: number;
position: string;
obfuscateAll: boolean;
showToggle: boolean;
}>>> & Readonly<{}>, {
position: "start" | "end";
maskChar: string;
maskCharCount: number;
lengthToKeep: number;
obfuscateAll: boolean;
showToggle: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;

declare interface ObfuscateTextOptions {
    /**
     * Num of characters to keep revealed.
     * Default will obfuscate entire string
     * with length of maskCharCount.
     */
    lengthToKeep?: number;
    /**
     * Character to obfuscate text with
     */
    maskChar?: string;
    /**
     * The number of masked characters to display
     */
    maskCharCount?: number;
    /**
     * Position to start obfuscating text
     */
    position?: 'start' | 'end';
}

export declare interface ObfuscateTextProps extends ObfuscateTextOptions {
    /**
     * The full text
     */
    text: string;
    /**
     * Whether to obfuscate all characters.
     * @deprecated omit the lengthToKeep prop to achieve the same result
     */
    obfuscateAll?: boolean;
    /**
     * Displays a button for toggling text visibility
     */
    showToggle?: boolean;
}

export { }
