import { z } from 'zod';
declare const access_grant_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
    created_at: z.ZodString;
    message: z.ZodString;
} & {
    error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
}, "strip", z.ZodTypeAny, {
    message: string;
    created_at: string;
    error_code: "cannot_create_requested_access_methods";
}, {
    message: string;
    created_at: string;
    error_code: "cannot_create_requested_access_methods";
}>]>;
export type AccessGrantError = z.infer<typeof access_grant_error>;
export declare const _access_grant_error_map: z.ZodObject<{
    cannot_create_requested_access_methods: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>>>;
}, "strip", z.ZodTypeAny, {
    cannot_create_requested_access_methods?: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    } | null | undefined;
}, {
    cannot_create_requested_access_methods?: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    } | null | undefined;
}>;
export type AccessGrantErrorMap = z.infer<typeof _access_grant_error_map>;
declare const _access_grant_warning_map: z.ZodObject<{
    being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>>>;
}, "strip", z.ZodTypeAny, {
    being_deleted?: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | null | undefined;
}, {
    being_deleted?: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    } | null | undefined;
}>;
export type AccessGrantWarningMap = z.infer<typeof _access_grant_warning_map>;
export declare const access_grant: z.ZodObject<{
    workspace_id: z.ZodString;
    access_grant_id: z.ZodString;
    access_grant_key: z.ZodOptional<z.ZodString>;
    reservation_key: z.ZodOptional<z.ZodString>;
    user_identity_id: z.ZodString;
    location_ids: z.ZodArray<z.ZodString, "many">;
    space_ids: z.ZodArray<z.ZodString, "many">;
    requested_access_methods: z.ZodArray<z.ZodObject<{
        display_name: z.ZodString;
        mode: z.ZodEnum<["code", "card", "mobile_key"]>;
        code: z.ZodOptional<z.ZodString>;
        created_at: z.ZodString;
        created_access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }>, "many">;
    access_method_ids: z.ZodArray<z.ZodString, "many">;
    client_session_token: z.ZodOptional<z.ZodString>;
    name: z.ZodNullable<z.ZodString>;
    display_name: z.ZodString;
    instant_key_url: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
    starts_at: z.ZodString;
    ends_at: z.ZodNullable<z.ZodString>;
    warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>]>, "many">;
    errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>]>, "many">;
    customization_profile_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }[];
    space_ids: string[];
    access_grant_id: string;
    user_identity_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }[];
    access_method_ids: string[];
    access_grant_key?: string | undefined;
    reservation_key?: string | undefined;
    client_session_token?: string | undefined;
    instant_key_url?: string | undefined;
    customization_profile_id?: string | undefined;
}, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }[];
    space_ids: string[];
    access_grant_id: string;
    user_identity_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }[];
    access_method_ids: string[];
    access_grant_key?: string | undefined;
    reservation_key?: string | undefined;
    client_session_token?: string | undefined;
    instant_key_url?: string | undefined;
    customization_profile_id?: string | undefined;
}>;
export type AccessGrant = z.infer<typeof access_grant>;
export declare const unmanaged_access_grant: z.ZodObject<Omit<{
    workspace_id: z.ZodString;
    access_grant_id: z.ZodString;
    access_grant_key: z.ZodOptional<z.ZodString>;
    reservation_key: z.ZodOptional<z.ZodString>;
    user_identity_id: z.ZodString;
    location_ids: z.ZodArray<z.ZodString, "many">;
    space_ids: z.ZodArray<z.ZodString, "many">;
    requested_access_methods: z.ZodArray<z.ZodObject<{
        display_name: z.ZodString;
        mode: z.ZodEnum<["code", "card", "mobile_key"]>;
        code: z.ZodOptional<z.ZodString>;
        created_at: z.ZodString;
        created_access_method_ids: z.ZodArray<z.ZodString, "many">;
    }, "strip", z.ZodTypeAny, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }, {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }>, "many">;
    access_method_ids: z.ZodArray<z.ZodString, "many">;
    client_session_token: z.ZodOptional<z.ZodString>;
    name: z.ZodNullable<z.ZodString>;
    display_name: z.ZodString;
    instant_key_url: z.ZodOptional<z.ZodString>;
    created_at: z.ZodString;
    starts_at: z.ZodString;
    ends_at: z.ZodNullable<z.ZodString>;
    warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        warning_code: z.ZodLiteral<"being_deleted">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }, {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }>]>, "many">;
    errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
        created_at: z.ZodString;
        message: z.ZodString;
    } & {
        error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
    }, "strip", z.ZodTypeAny, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }, {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }>]>, "many">;
    customization_profile_id: z.ZodOptional<z.ZodString>;
}, "access_grant_key" | "user_identity_id" | "client_session_token" | "instant_key_url" | "customization_profile_id"> & {
    user_identity_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }[];
    space_ids: string[];
    access_grant_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }[];
    access_method_ids: string[];
    reservation_key?: string | undefined;
    user_identity_id?: string | undefined;
}, {
    name: string | null;
    display_name: string;
    workspace_id: string;
    created_at: string;
    starts_at: string;
    ends_at: string | null;
    errors: {
        message: string;
        created_at: string;
        error_code: "cannot_create_requested_access_methods";
    }[];
    warnings: {
        message: string;
        created_at: string;
        warning_code: "being_deleted";
    }[];
    space_ids: string[];
    access_grant_id: string;
    location_ids: string[];
    requested_access_methods: {
        display_name: string;
        created_at: string;
        mode: "code" | "card" | "mobile_key";
        created_access_method_ids: string[];
        code?: string | undefined;
    }[];
    access_method_ids: string[];
    reservation_key?: string | undefined;
    user_identity_id?: string | undefined;
}>;
export type UnmanagedAccessGrant = z.infer<typeof unmanaged_access_grant>;
export {};
