import { OpenAPIV3_1 } from "openapi-types";
import { FernRegistry } from "../../../../client/generated";
import { FdrStringType } from "../../../../types/fdr.types";
import { BaseOpenApiV3_1ConverterExampleArgs, BaseOpenApiV3_1ConverterNodeConstructorArgs, BaseOpenApiV3_1ConverterNodeWithExample } from "../../../BaseOpenApiV3_1Converter.node";
import { ConstArrayToType, OPENAPI_STRING_TYPE_FORMAT } from "../../../types/format.types";
import { EnumConverterNode } from "./EnumConverter.node";
export declare namespace StringConverterNode {
    interface Input extends OpenAPIV3_1.NonArraySchemaObject {
        type: "string";
    }
    interface Output extends FernRegistry.api.latest.TypeShape.Alias {
        type: "alias";
        value: {
            type: "primitive";
            value: FdrStringType;
        };
    }
}
export declare class StringConverterNode extends BaseOpenApiV3_1ConverterNodeWithExample<StringConverterNode.Input, StringConverterNode.Output | FernRegistry.api.latest.TypeShape.Enum> {
    format: ConstArrayToType<typeof OPENAPI_STRING_TYPE_FORMAT> | undefined;
    regex: string | undefined;
    default: string | undefined;
    minLength: number | undefined;
    maxLength: number | undefined;
    enum: EnumConverterNode | undefined;
    mimeType: string | undefined;
    nullable: boolean | undefined;
    constructor(args: BaseOpenApiV3_1ConverterNodeConstructorArgs<StringConverterNode.Input> & {
        nullable: boolean | undefined;
    });
    mapToFdrType(format: ConstArrayToType<typeof OPENAPI_STRING_TYPE_FORMAT>): FdrStringType["type"];
    parse(): void;
    convert(): StringConverterNode.Output | FernRegistry.api.latest.TypeShape.Enum | undefined;
    example({ override, }: BaseOpenApiV3_1ConverterExampleArgs): string | undefined;
}
//# sourceMappingURL=StringConverter.node.d.ts.map