/** * Derive the physical S3 bucket name for a `FileBucket` from its `fullId`. * * - `fullId` of 63 characters or fewer: returned unchanged, so every bucket that * could already be deployed keeps its exact name. * - Longer `fullId`: the first characters of `fullId` (any trailing `-`/`.` * trimmed), then `-`, then the first 8 hex characters of `sha256(fullId)` — * at most 63 characters. The same pattern `bb-auth` uses for the hosted-UI * domain prefix. * * Pure and deterministic: the CDK, AWS-runtime, and mock layers each call it on * the same `fullId` and resolve the same name, with nothing handed between them. * The result is not validated here — pass it to {@link validateBucketName}. * * ⚠️ **Frozen once deployed.** Changing this output for any input renames — and * so replaces — a deployed bucket. `bucket-name.test.ts` pins it. * * @param fullId - The FileBucket's scope `fullId`. * @returns The bucket name to provision and address. */ export declare function deriveBucketName(fullId: string): string; /** * Validate an auto-derived S3 bucket name. Throws a `ValidationFailed` error * with an actionable message when the name violates an S3 naming rule. * * @param name - The bucket name ({@link deriveBucketName} of the scope's `fullId`). * @throws {Error} With name `ValidationFailed` if the name is invalid. */ export declare function validateBucketName(name: string): void; //# sourceMappingURL=bucket-name.d.ts.map