import * as z from "zod";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ContentBlock4 = {};
/**
 * The source value of the status.
 */
export type ContentBlockSourceValue = ContentBlock4 | string | number | boolean | Array<any>;
/**
 * The Status of the content blocks.
 */
export declare enum ContentBlockValue {
    Draft = "draft",
    Live = "live",
    Archived = "archived",
    UnmappedValue = "unmapped_value"
}
/**
 * The Status of the content blocks.
 */
export type ContentBlockValueOpen = OpenEnum<typeof ContentBlockValue>;
/**
 * Stackone enum identifying the status of content block.
 */
export type ContentBlockStatus = {
    /**
     * The source value of the status.
     */
    sourceValue?: ContentBlock4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The Status of the content blocks.
     */
    value?: ContentBlockValueOpen | null | undefined;
};
export type ContentBlockSchemas4 = {};
/**
 * The source value of the type.
 */
export type ContentBlockSchemasSourceValue = ContentBlockSchemas4 | string | number | boolean | Array<any>;
/**
 * The type of the content blocks.
 */
export declare enum ContentBlockSchemasValue {
    Text = "text",
    Html = "html",
    Image = "image",
    CodeSnippet = "code-snippet",
    UnmappedValue = "unmapped_value"
}
/**
 * The type of the content blocks.
 */
export type ContentBlockSchemasValueOpen = OpenEnum<typeof ContentBlockSchemasValue>;
/**
 * Stackone enum identifying the type of content block.
 */
export type ContentBlockType = {
    /**
     * The source value of the type.
     */
    sourceValue?: ContentBlockSchemas4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The type of the content blocks.
     */
    value?: ContentBlockSchemasValueOpen | null | undefined;
};
export type ContentBlock = {
    content?: string | null | undefined;
    /**
     * Date of creation
     */
    createdAt?: Date | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * Stackone enum identifying the status of content block.
     */
    status?: ContentBlockStatus | null | undefined;
    tags?: Array<string> | null | undefined;
    /**
     * Stackone enum identifying the type of content block.
     */
    type?: ContentBlockType | null | undefined;
    /**
     * Date of last update
     */
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const ContentBlock4$inboundSchema: z.ZodType<ContentBlock4, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlock4$Outbound = {};
/** @internal */
export declare const ContentBlock4$outboundSchema: z.ZodType<ContentBlock4$Outbound, z.ZodTypeDef, ContentBlock4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlock4$ {
    /** @deprecated use `ContentBlock4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlock4, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlock4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlock4$Outbound, z.ZodTypeDef, ContentBlock4>;
    /** @deprecated use `ContentBlock4$Outbound` instead. */
    type Outbound = ContentBlock4$Outbound;
}
export declare function contentBlock4ToJSON(contentBlock4: ContentBlock4): string;
export declare function contentBlock4FromJSON(jsonString: string): SafeParseResult<ContentBlock4, SDKValidationError>;
/** @internal */
export declare const ContentBlockSourceValue$inboundSchema: z.ZodType<ContentBlockSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlockSourceValue$Outbound = ContentBlock4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const ContentBlockSourceValue$outboundSchema: z.ZodType<ContentBlockSourceValue$Outbound, z.ZodTypeDef, ContentBlockSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockSourceValue$ {
    /** @deprecated use `ContentBlockSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockSourceValue$Outbound, z.ZodTypeDef, ContentBlockSourceValue>;
    /** @deprecated use `ContentBlockSourceValue$Outbound` instead. */
    type Outbound = ContentBlockSourceValue$Outbound;
}
export declare function contentBlockSourceValueToJSON(contentBlockSourceValue: ContentBlockSourceValue): string;
export declare function contentBlockSourceValueFromJSON(jsonString: string): SafeParseResult<ContentBlockSourceValue, SDKValidationError>;
/** @internal */
export declare const ContentBlockValue$inboundSchema: z.ZodType<ContentBlockValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const ContentBlockValue$outboundSchema: z.ZodType<ContentBlockValueOpen, z.ZodTypeDef, ContentBlockValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockValue$ {
    /** @deprecated use `ContentBlockValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockValueOpen, z.ZodTypeDef, ContentBlockValueOpen>;
}
/** @internal */
export declare const ContentBlockStatus$inboundSchema: z.ZodType<ContentBlockStatus, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlockStatus$Outbound = {
    source_value?: ContentBlock4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const ContentBlockStatus$outboundSchema: z.ZodType<ContentBlockStatus$Outbound, z.ZodTypeDef, ContentBlockStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockStatus$ {
    /** @deprecated use `ContentBlockStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockStatus, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockStatus$Outbound, z.ZodTypeDef, ContentBlockStatus>;
    /** @deprecated use `ContentBlockStatus$Outbound` instead. */
    type Outbound = ContentBlockStatus$Outbound;
}
export declare function contentBlockStatusToJSON(contentBlockStatus: ContentBlockStatus): string;
export declare function contentBlockStatusFromJSON(jsonString: string): SafeParseResult<ContentBlockStatus, SDKValidationError>;
/** @internal */
export declare const ContentBlockSchemas4$inboundSchema: z.ZodType<ContentBlockSchemas4, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlockSchemas4$Outbound = {};
/** @internal */
export declare const ContentBlockSchemas4$outboundSchema: z.ZodType<ContentBlockSchemas4$Outbound, z.ZodTypeDef, ContentBlockSchemas4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockSchemas4$ {
    /** @deprecated use `ContentBlockSchemas4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockSchemas4, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockSchemas4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockSchemas4$Outbound, z.ZodTypeDef, ContentBlockSchemas4>;
    /** @deprecated use `ContentBlockSchemas4$Outbound` instead. */
    type Outbound = ContentBlockSchemas4$Outbound;
}
export declare function contentBlockSchemas4ToJSON(contentBlockSchemas4: ContentBlockSchemas4): string;
export declare function contentBlockSchemas4FromJSON(jsonString: string): SafeParseResult<ContentBlockSchemas4, SDKValidationError>;
/** @internal */
export declare const ContentBlockSchemasSourceValue$inboundSchema: z.ZodType<ContentBlockSchemasSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlockSchemasSourceValue$Outbound = ContentBlockSchemas4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const ContentBlockSchemasSourceValue$outboundSchema: z.ZodType<ContentBlockSchemasSourceValue$Outbound, z.ZodTypeDef, ContentBlockSchemasSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockSchemasSourceValue$ {
    /** @deprecated use `ContentBlockSchemasSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockSchemasSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockSchemasSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockSchemasSourceValue$Outbound, z.ZodTypeDef, ContentBlockSchemasSourceValue>;
    /** @deprecated use `ContentBlockSchemasSourceValue$Outbound` instead. */
    type Outbound = ContentBlockSchemasSourceValue$Outbound;
}
export declare function contentBlockSchemasSourceValueToJSON(contentBlockSchemasSourceValue: ContentBlockSchemasSourceValue): string;
export declare function contentBlockSchemasSourceValueFromJSON(jsonString: string): SafeParseResult<ContentBlockSchemasSourceValue, SDKValidationError>;
/** @internal */
export declare const ContentBlockSchemasValue$inboundSchema: z.ZodType<ContentBlockSchemasValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const ContentBlockSchemasValue$outboundSchema: z.ZodType<ContentBlockSchemasValueOpen, z.ZodTypeDef, ContentBlockSchemasValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockSchemasValue$ {
    /** @deprecated use `ContentBlockSchemasValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockSchemasValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockSchemasValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockSchemasValueOpen, z.ZodTypeDef, ContentBlockSchemasValueOpen>;
}
/** @internal */
export declare const ContentBlockType$inboundSchema: z.ZodType<ContentBlockType, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlockType$Outbound = {
    source_value?: ContentBlockSchemas4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const ContentBlockType$outboundSchema: z.ZodType<ContentBlockType$Outbound, z.ZodTypeDef, ContentBlockType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlockType$ {
    /** @deprecated use `ContentBlockType$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlockType, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlockType$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlockType$Outbound, z.ZodTypeDef, ContentBlockType>;
    /** @deprecated use `ContentBlockType$Outbound` instead. */
    type Outbound = ContentBlockType$Outbound;
}
export declare function contentBlockTypeToJSON(contentBlockType: ContentBlockType): string;
export declare function contentBlockTypeFromJSON(jsonString: string): SafeParseResult<ContentBlockType, SDKValidationError>;
/** @internal */
export declare const ContentBlock$inboundSchema: z.ZodType<ContentBlock, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentBlock$Outbound = {
    content?: string | null | undefined;
    created_at?: string | null | undefined;
    id?: string | null | undefined;
    name?: string | null | undefined;
    remote_id?: string | null | undefined;
    status?: ContentBlockStatus$Outbound | null | undefined;
    tags?: Array<string> | null | undefined;
    type?: ContentBlockType$Outbound | null | undefined;
    updated_at?: string | null | undefined;
};
/** @internal */
export declare const ContentBlock$outboundSchema: z.ZodType<ContentBlock$Outbound, z.ZodTypeDef, ContentBlock>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentBlock$ {
    /** @deprecated use `ContentBlock$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentBlock, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentBlock$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentBlock$Outbound, z.ZodTypeDef, ContentBlock>;
    /** @deprecated use `ContentBlock$Outbound` instead. */
    type Outbound = ContentBlock$Outbound;
}
export declare function contentBlockToJSON(contentBlock: ContentBlock): string;
export declare function contentBlockFromJSON(jsonString: string): SafeParseResult<ContentBlock, SDKValidationError>;
//# sourceMappingURL=contentblock.d.ts.map