import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.mdb.postgresql.v1.config";
/**
 * Options and structure of `PostgresqlConfig` reflects PostgreSQL configuration file
 * parameters which detailed description is available in
 * [PostgreSQL documentation](https://www.postgresql.org/docs/11/runtime-config.html).
 */
export interface PostgresqlHostConfig15 {
    /** in milliseconds. */
    recoveryMinApplyDelay?: number;
    /** in bytes. */
    sharedBuffers?: number;
    /** in bytes. */
    tempBuffers?: number;
    /** in bytes. */
    workMem?: number;
    /** in bytes. */
    tempFileLimit?: number;
    backendFlushAfter?: number;
    oldSnapshotThreshold?: number;
    /** in milliseconds. */
    maxStandbyStreamingDelay?: number;
    constraintExclusion: PostgresqlHostConfig15_ConstraintExclusion;
    cursorTupleFraction?: number;
    fromCollapseLimit?: number;
    joinCollapseLimit?: number;
    forceParallelMode: PostgresqlHostConfig15_ForceParallelMode;
    clientMinMessages: PostgresqlHostConfig15_LogLevel;
    logMinMessages: PostgresqlHostConfig15_LogLevel;
    logMinErrorStatement: PostgresqlHostConfig15_LogLevel;
    /** in milliseconds. */
    logMinDurationStatement?: number;
    logCheckpoints?: boolean;
    logConnections?: boolean;
    logDisconnections?: boolean;
    logDuration?: boolean;
    logErrorVerbosity: PostgresqlHostConfig15_LogErrorVerbosity;
    logLockWaits?: boolean;
    logStatement: PostgresqlHostConfig15_LogStatement;
    logTempFiles?: number;
    searchPath: string;
    rowSecurity?: boolean;
    defaultTransactionIsolation: PostgresqlHostConfig15_TransactionIsolation;
    /** in milliseconds. */
    statementTimeout?: number;
    /** in milliseconds. */
    lockTimeout?: number;
    /** in milliseconds. */
    idleInTransactionSessionTimeout?: number;
    byteaOutput: PostgresqlHostConfig15_ByteaOutput;
    xmlbinary: PostgresqlHostConfig15_XmlBinary;
    xmloption: PostgresqlHostConfig15_XmlOption;
    /** in bytes. */
    ginPendingListLimit?: number;
    /** in milliseconds. */
    deadlockTimeout?: number;
    maxLocksPerTransaction?: number;
    maxPredLocksPerTransaction?: number;
    arrayNulls?: boolean;
    backslashQuote: PostgresqlHostConfig15_BackslashQuote;
    defaultWithOids?: boolean;
    escapeStringWarning?: boolean;
    loCompatPrivileges?: boolean;
    quoteAllIdentifiers?: boolean;
    standardConformingStrings?: boolean;
    synchronizeSeqscans?: boolean;
    transformNullEquals?: boolean;
    exitOnError?: boolean;
    seqPageCost?: number;
    randomPageCost?: number;
    enableBitmapscan?: boolean;
    enableHashagg?: boolean;
    enableHashjoin?: boolean;
    enableIndexscan?: boolean;
    enableIndexonlyscan?: boolean;
    enableMaterial?: boolean;
    enableMergejoin?: boolean;
    enableNestloop?: boolean;
    enableSeqscan?: boolean;
    enableSort?: boolean;
    enableTidscan?: boolean;
    maxParallelWorkers?: number;
    maxParallelWorkersPerGather?: number;
    timezone: string;
    effectiveIoConcurrency?: number;
    effectiveCacheSize?: number;
}
export declare enum PostgresqlHostConfig15_BackslashQuote {
    BACKSLASH_QUOTE_UNSPECIFIED = 0,
    BACKSLASH_QUOTE = 1,
    BACKSLASH_QUOTE_ON = 2,
    BACKSLASH_QUOTE_OFF = 3,
    BACKSLASH_QUOTE_SAFE_ENCODING = 4,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_BackslashQuoteFromJSON(object: any): PostgresqlHostConfig15_BackslashQuote;
export declare function postgresqlHostConfig15_BackslashQuoteToJSON(object: PostgresqlHostConfig15_BackslashQuote): string;
export declare enum PostgresqlHostConfig15_ByteaOutput {
    BYTEA_OUTPUT_UNSPECIFIED = 0,
    BYTEA_OUTPUT_HEX = 1,
    BYTEA_OUTPUT_ESCAPED = 2,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_ByteaOutputFromJSON(object: any): PostgresqlHostConfig15_ByteaOutput;
export declare function postgresqlHostConfig15_ByteaOutputToJSON(object: PostgresqlHostConfig15_ByteaOutput): string;
export declare enum PostgresqlHostConfig15_ConstraintExclusion {
    CONSTRAINT_EXCLUSION_UNSPECIFIED = 0,
    CONSTRAINT_EXCLUSION_ON = 1,
    CONSTRAINT_EXCLUSION_OFF = 2,
    CONSTRAINT_EXCLUSION_PARTITION = 3,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_ConstraintExclusionFromJSON(object: any): PostgresqlHostConfig15_ConstraintExclusion;
export declare function postgresqlHostConfig15_ConstraintExclusionToJSON(object: PostgresqlHostConfig15_ConstraintExclusion): string;
export declare enum PostgresqlHostConfig15_ForceParallelMode {
    FORCE_PARALLEL_MODE_UNSPECIFIED = 0,
    FORCE_PARALLEL_MODE_ON = 1,
    FORCE_PARALLEL_MODE_OFF = 2,
    FORCE_PARALLEL_MODE_REGRESS = 3,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_ForceParallelModeFromJSON(object: any): PostgresqlHostConfig15_ForceParallelMode;
export declare function postgresqlHostConfig15_ForceParallelModeToJSON(object: PostgresqlHostConfig15_ForceParallelMode): string;
export declare enum PostgresqlHostConfig15_LogErrorVerbosity {
    LOG_ERROR_VERBOSITY_UNSPECIFIED = 0,
    LOG_ERROR_VERBOSITY_TERSE = 1,
    LOG_ERROR_VERBOSITY_DEFAULT = 2,
    LOG_ERROR_VERBOSITY_VERBOSE = 3,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_LogErrorVerbosityFromJSON(object: any): PostgresqlHostConfig15_LogErrorVerbosity;
export declare function postgresqlHostConfig15_LogErrorVerbosityToJSON(object: PostgresqlHostConfig15_LogErrorVerbosity): string;
export declare enum PostgresqlHostConfig15_LogLevel {
    LOG_LEVEL_UNSPECIFIED = 0,
    LOG_LEVEL_DEBUG5 = 1,
    LOG_LEVEL_DEBUG4 = 2,
    LOG_LEVEL_DEBUG3 = 3,
    LOG_LEVEL_DEBUG2 = 4,
    LOG_LEVEL_DEBUG1 = 5,
    LOG_LEVEL_LOG = 6,
    LOG_LEVEL_NOTICE = 7,
    LOG_LEVEL_WARNING = 8,
    LOG_LEVEL_ERROR = 9,
    LOG_LEVEL_FATAL = 10,
    LOG_LEVEL_PANIC = 11,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_LogLevelFromJSON(object: any): PostgresqlHostConfig15_LogLevel;
export declare function postgresqlHostConfig15_LogLevelToJSON(object: PostgresqlHostConfig15_LogLevel): string;
export declare enum PostgresqlHostConfig15_LogStatement {
    LOG_STATEMENT_UNSPECIFIED = 0,
    LOG_STATEMENT_NONE = 1,
    LOG_STATEMENT_DDL = 2,
    LOG_STATEMENT_MOD = 3,
    LOG_STATEMENT_ALL = 4,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_LogStatementFromJSON(object: any): PostgresqlHostConfig15_LogStatement;
export declare function postgresqlHostConfig15_LogStatementToJSON(object: PostgresqlHostConfig15_LogStatement): string;
export declare enum PostgresqlHostConfig15_TransactionIsolation {
    TRANSACTION_ISOLATION_UNSPECIFIED = 0,
    TRANSACTION_ISOLATION_READ_UNCOMMITTED = 1,
    TRANSACTION_ISOLATION_READ_COMMITTED = 2,
    TRANSACTION_ISOLATION_REPEATABLE_READ = 3,
    TRANSACTION_ISOLATION_SERIALIZABLE = 4,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_TransactionIsolationFromJSON(object: any): PostgresqlHostConfig15_TransactionIsolation;
export declare function postgresqlHostConfig15_TransactionIsolationToJSON(object: PostgresqlHostConfig15_TransactionIsolation): string;
export declare enum PostgresqlHostConfig15_XmlBinary {
    XML_BINARY_UNSPECIFIED = 0,
    XML_BINARY_BASE64 = 1,
    XML_BINARY_HEX = 2,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_XmlBinaryFromJSON(object: any): PostgresqlHostConfig15_XmlBinary;
export declare function postgresqlHostConfig15_XmlBinaryToJSON(object: PostgresqlHostConfig15_XmlBinary): string;
export declare enum PostgresqlHostConfig15_XmlOption {
    XML_OPTION_UNSPECIFIED = 0,
    XML_OPTION_DOCUMENT = 1,
    XML_OPTION_CONTENT = 2,
    UNRECOGNIZED = -1
}
export declare function postgresqlHostConfig15_XmlOptionFromJSON(object: any): PostgresqlHostConfig15_XmlOption;
export declare function postgresqlHostConfig15_XmlOptionToJSON(object: PostgresqlHostConfig15_XmlOption): string;
export declare const PostgresqlHostConfig15: {
    encode(message: PostgresqlHostConfig15, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PostgresqlHostConfig15;
    fromJSON(object: any): PostgresqlHostConfig15;
    toJSON(message: PostgresqlHostConfig15): unknown;
    fromPartial<I extends {
        recoveryMinApplyDelay?: number | undefined;
        sharedBuffers?: number | undefined;
        tempBuffers?: number | undefined;
        workMem?: number | undefined;
        tempFileLimit?: number | undefined;
        backendFlushAfter?: number | undefined;
        oldSnapshotThreshold?: number | undefined;
        maxStandbyStreamingDelay?: number | undefined;
        constraintExclusion?: PostgresqlHostConfig15_ConstraintExclusion | undefined;
        cursorTupleFraction?: number | undefined;
        fromCollapseLimit?: number | undefined;
        joinCollapseLimit?: number | undefined;
        forceParallelMode?: PostgresqlHostConfig15_ForceParallelMode | undefined;
        clientMinMessages?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinMessages?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinErrorStatement?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinDurationStatement?: number | undefined;
        logCheckpoints?: boolean | undefined;
        logConnections?: boolean | undefined;
        logDisconnections?: boolean | undefined;
        logDuration?: boolean | undefined;
        logErrorVerbosity?: PostgresqlHostConfig15_LogErrorVerbosity | undefined;
        logLockWaits?: boolean | undefined;
        logStatement?: PostgresqlHostConfig15_LogStatement | undefined;
        logTempFiles?: number | undefined;
        searchPath?: string | undefined;
        rowSecurity?: boolean | undefined;
        defaultTransactionIsolation?: PostgresqlHostConfig15_TransactionIsolation | undefined;
        statementTimeout?: number | undefined;
        lockTimeout?: number | undefined;
        idleInTransactionSessionTimeout?: number | undefined;
        byteaOutput?: PostgresqlHostConfig15_ByteaOutput | undefined;
        xmlbinary?: PostgresqlHostConfig15_XmlBinary | undefined;
        xmloption?: PostgresqlHostConfig15_XmlOption | undefined;
        ginPendingListLimit?: number | undefined;
        deadlockTimeout?: number | undefined;
        maxLocksPerTransaction?: number | undefined;
        maxPredLocksPerTransaction?: number | undefined;
        arrayNulls?: boolean | undefined;
        backslashQuote?: PostgresqlHostConfig15_BackslashQuote | undefined;
        defaultWithOids?: boolean | undefined;
        escapeStringWarning?: boolean | undefined;
        loCompatPrivileges?: boolean | undefined;
        quoteAllIdentifiers?: boolean | undefined;
        standardConformingStrings?: boolean | undefined;
        synchronizeSeqscans?: boolean | undefined;
        transformNullEquals?: boolean | undefined;
        exitOnError?: boolean | undefined;
        seqPageCost?: number | undefined;
        randomPageCost?: number | undefined;
        enableBitmapscan?: boolean | undefined;
        enableHashagg?: boolean | undefined;
        enableHashjoin?: boolean | undefined;
        enableIndexscan?: boolean | undefined;
        enableIndexonlyscan?: boolean | undefined;
        enableMaterial?: boolean | undefined;
        enableMergejoin?: boolean | undefined;
        enableNestloop?: boolean | undefined;
        enableSeqscan?: boolean | undefined;
        enableSort?: boolean | undefined;
        enableTidscan?: boolean | undefined;
        maxParallelWorkers?: number | undefined;
        maxParallelWorkersPerGather?: number | undefined;
        timezone?: string | undefined;
        effectiveIoConcurrency?: number | undefined;
        effectiveCacheSize?: number | undefined;
    } & {
        recoveryMinApplyDelay?: number | undefined;
        sharedBuffers?: number | undefined;
        tempBuffers?: number | undefined;
        workMem?: number | undefined;
        tempFileLimit?: number | undefined;
        backendFlushAfter?: number | undefined;
        oldSnapshotThreshold?: number | undefined;
        maxStandbyStreamingDelay?: number | undefined;
        constraintExclusion?: PostgresqlHostConfig15_ConstraintExclusion | undefined;
        cursorTupleFraction?: number | undefined;
        fromCollapseLimit?: number | undefined;
        joinCollapseLimit?: number | undefined;
        forceParallelMode?: PostgresqlHostConfig15_ForceParallelMode | undefined;
        clientMinMessages?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinMessages?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinErrorStatement?: PostgresqlHostConfig15_LogLevel | undefined;
        logMinDurationStatement?: number | undefined;
        logCheckpoints?: boolean | undefined;
        logConnections?: boolean | undefined;
        logDisconnections?: boolean | undefined;
        logDuration?: boolean | undefined;
        logErrorVerbosity?: PostgresqlHostConfig15_LogErrorVerbosity | undefined;
        logLockWaits?: boolean | undefined;
        logStatement?: PostgresqlHostConfig15_LogStatement | undefined;
        logTempFiles?: number | undefined;
        searchPath?: string | undefined;
        rowSecurity?: boolean | undefined;
        defaultTransactionIsolation?: PostgresqlHostConfig15_TransactionIsolation | undefined;
        statementTimeout?: number | undefined;
        lockTimeout?: number | undefined;
        idleInTransactionSessionTimeout?: number | undefined;
        byteaOutput?: PostgresqlHostConfig15_ByteaOutput | undefined;
        xmlbinary?: PostgresqlHostConfig15_XmlBinary | undefined;
        xmloption?: PostgresqlHostConfig15_XmlOption | undefined;
        ginPendingListLimit?: number | undefined;
        deadlockTimeout?: number | undefined;
        maxLocksPerTransaction?: number | undefined;
        maxPredLocksPerTransaction?: number | undefined;
        arrayNulls?: boolean | undefined;
        backslashQuote?: PostgresqlHostConfig15_BackslashQuote | undefined;
        defaultWithOids?: boolean | undefined;
        escapeStringWarning?: boolean | undefined;
        loCompatPrivileges?: boolean | undefined;
        quoteAllIdentifiers?: boolean | undefined;
        standardConformingStrings?: boolean | undefined;
        synchronizeSeqscans?: boolean | undefined;
        transformNullEquals?: boolean | undefined;
        exitOnError?: boolean | undefined;
        seqPageCost?: number | undefined;
        randomPageCost?: number | undefined;
        enableBitmapscan?: boolean | undefined;
        enableHashagg?: boolean | undefined;
        enableHashjoin?: boolean | undefined;
        enableIndexscan?: boolean | undefined;
        enableIndexonlyscan?: boolean | undefined;
        enableMaterial?: boolean | undefined;
        enableMergejoin?: boolean | undefined;
        enableNestloop?: boolean | undefined;
        enableSeqscan?: boolean | undefined;
        enableSort?: boolean | undefined;
        enableTidscan?: boolean | undefined;
        maxParallelWorkers?: number | undefined;
        maxParallelWorkersPerGather?: number | undefined;
        timezone?: string | undefined;
        effectiveIoConcurrency?: number | undefined;
        effectiveCacheSize?: number | undefined;
    } & Record<Exclude<keyof I, keyof PostgresqlHostConfig15>, never>>(object: I): PostgresqlHostConfig15;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
