Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

32
node_modules/stripe/esm/StripeContext.d.ts generated vendored Normal file
View File

@@ -0,0 +1,32 @@
/**
* The StripeContext class provides an immutable container and convenience methods for interacting with the `Stripe-Context` header. All methods return a new instance of StripeContext.
* You can use it whenever you're initializing a `Stripe` instance or sending `stripeContext` with a request. It's also found in the `EventNotification.context` property.
*/
export declare class StripeContext {
private readonly _segments;
/**
* Creates a new StripeContext with the given segments.
*/
constructor(segments?: string[]);
/**
* Gets a copy of the segments of this Context.
*/
get segments(): Array<string>;
/**
* Creates a new StripeContext with an additional segment appended.
*/
push(segment: string): StripeContext;
/**
* Creates a new StripeContext with the last segment removed.
* If there are no segments, throws an error.
*/
pop(): StripeContext;
/**
* Converts this context to its string representation.
*/
toString(): string;
/**
* Parses a context string into a StripeContext instance.
*/
static parse(contextStr?: string | null): StripeContext;
}