import { ComputedRef, Ref } from 'vue';
export interface PrefixSuffixOptions {
    field: any;
    formData: Ref<any>;
    mergePrefix?: boolean;
    mergeAppend?: boolean;
}
export interface PrefixSuffixResult {
    preName: ComputedRef<string>;
    appName: ComputedRef<string>;
    prependList: ComputedRef<any[]>;
    appendList: ComputedRef<any[]>;
    normalData: Ref<string>;
    findMatchingPrefix: (mainValue: string) => string;
    findMatchingSuffix: (mainValue: string) => string;
    parseMainValue: () => string;
    extractPrefixFromInput: (inputValue: string) => {
        prefix: string;
        remaining: string;
    };
    extractSuffixFromInput: (inputValue: string) => {
        suffix: string;
        remaining: string;
    };
    mergeData: (isParsing?: boolean) => void;
    setupWatchers: () => void;
}
export declare const usePrefixSuffix: (options: PrefixSuffixOptions) => PrefixSuffixResult;
