import { z } from "zod"; declare const schema: z.core.$ZodBranded; export type AwsArn = z.infer; /** * Validates that a string is a valid AWS ARN. * * The schema enforces the following rules: * - There must be at least 6 tokens separated by colons. * - The first token must be "arn". * - The second token must be a valid AWS partition, as validated by `zu.aws.partition()`. * - The third token (service) cannot be empty. No further checks are done. * - The fourth token (region) can be empty or must be a valid AWS region, as validated by `zu.aws.region()`. * - The fifth token (account ID) can be empty or must be a valid AWS account ID, as validated by `zu.aws.accountId()`. * - The sixth token (resource ID/type) cannot be empty. No further checks are done. * * @returns A schema that validates AWS ARNs. * * @see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html */ export declare function arn(): z.core.$ZodBranded; export {};