1 | import { DsnComponents, DsnLike } from '@sentry/types';
|
2 | /**
|
3 | * Renders the string representation of this Dsn.
|
4 | *
|
5 | * By default, this will render the public representation without the password
|
6 | * component. To get the deprecated private representation, set `withPassword`
|
7 | * to true.
|
8 | *
|
9 | * @param withPassword When set to true, the password will be included.
|
10 | */
|
11 | export declare function dsnToString(dsn: DsnComponents, withPassword?: boolean): string;
|
12 | /**
|
13 | * Parses a Dsn from a given string.
|
14 | *
|
15 | * @param str A Dsn as string
|
16 | * @returns Dsn as DsnComponents
|
17 | */
|
18 | export declare function dsnFromString(str: string): DsnComponents;
|
19 | /** The Sentry Dsn, identifying a Sentry instance and project. */
|
20 | export declare function makeDsn(from: DsnLike): DsnComponents;
|
21 | //# sourceMappingURL=dsn.d.ts.map |
\ | No newline at end of file |