import type { ExtensionConfig } from './extension-types.js';
/**
 * The Extension class is used to create custom extensions.
 * @see https://tiptap.dev/api/extensions#create-a-new-extension
 */
export declare class Extension<Options = any, Storage = any> {
    type: 'extension';
    name: string;
    parent: Extension | null;
    child: Extension | null;
    options: Options;
    storage: Storage;
    config: ExtensionConfig;
    constructor(config?: Partial<ExtensionConfig<Options, Storage>> | Record<string, any>);
    static create<O = any, S = any>(config?: Partial<ExtensionConfig<O, S>> | Record<string, any>): Extension<O, S>;
    configure(options?: Partial<Options>): Extension<Options, Storage>;
    extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<ExtensionConfig<ExtendedOptions, ExtendedStorage>> | Record<string, any>): Extension<ExtendedOptions, ExtendedStorage>;
}
//# sourceMappingURL=extension.d.ts.map